org.cassandraunit.dataset.xml
Class ColumnFamily

java.lang.Object
  extended by org.cassandraunit.dataset.xml.ColumnFamily

public class ColumnFamily
extends Object

Java class for ColumnFamily complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ColumnFamily">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://xml.dataset.cassandraunit.org}ColumnFamilyType" minOccurs="0"/>
         <element name="keyType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="comparatorType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="subComparatorType" type="{http://xml.dataset.cassandraunit.org}DataType" minOccurs="0"/>
         <element name="defaultColumnValueType" type="{http://xml.dataset.cassandraunit.org}DataType" minOccurs="0"/>
         <element name="columnMetadata" type="{http://xml.dataset.cassandraunit.org}ColumnMetadata" maxOccurs="unbounded" minOccurs="0"/>
         <element name="row" type="{http://xml.dataset.cassandraunit.org}Row" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ColumnMetadata> columnMetadata
           
protected  String comparatorType
           
protected  DataType defaultColumnValueType
           
protected  String keyType
           
protected  String name
           
protected  List<Row> row
           
protected  DataType subComparatorType
           
protected  ColumnFamilyType type
           
 
Constructor Summary
ColumnFamily()
           
 
Method Summary
 List<ColumnMetadata> getColumnMetadata()
          Gets the value of the columnMetadata property.
 String getComparatorType()
          Gets the value of the comparatorType property.
 DataType getDefaultColumnValueType()
          Gets the value of the defaultColumnValueType property.
 String getKeyType()
          Gets the value of the keyType property.
 String getName()
          Gets the value of the name property.
 List<Row> getRow()
          Gets the value of the row property.
 DataType getSubComparatorType()
          Gets the value of the subComparatorType property.
 ColumnFamilyType getType()
          Gets the value of the type property.
 void setComparatorType(String value)
          Sets the value of the comparatorType property.
 void setDefaultColumnValueType(DataType value)
          Sets the value of the defaultColumnValueType property.
 void setKeyType(String value)
          Sets the value of the keyType property.
 void setName(String value)
          Sets the value of the name property.
 void setSubComparatorType(DataType value)
          Sets the value of the subComparatorType property.
 void setType(ColumnFamilyType value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

type

protected ColumnFamilyType type

keyType

protected String keyType

comparatorType

protected String comparatorType

subComparatorType

protected DataType subComparatorType

defaultColumnValueType

protected DataType defaultColumnValueType

columnMetadata

protected List<ColumnMetadata> columnMetadata

row

protected List<Row> row
Constructor Detail

ColumnFamily

public ColumnFamily()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getType

public ColumnFamilyType getType()
Gets the value of the type property.

Returns:
possible object is ColumnFamilyType

setType

public void setType(ColumnFamilyType value)
Sets the value of the type property.

Parameters:
value - allowed object is ColumnFamilyType

getKeyType

public String getKeyType()
Gets the value of the keyType property.

Returns:
possible object is String

setKeyType

public void setKeyType(String value)
Sets the value of the keyType property.

Parameters:
value - allowed object is String

getComparatorType

public String getComparatorType()
Gets the value of the comparatorType property.

Returns:
possible object is String

setComparatorType

public void setComparatorType(String value)
Sets the value of the comparatorType property.

Parameters:
value - allowed object is String

getSubComparatorType

public DataType getSubComparatorType()
Gets the value of the subComparatorType property.

Returns:
possible object is DataType

setSubComparatorType

public void setSubComparatorType(DataType value)
Sets the value of the subComparatorType property.

Parameters:
value - allowed object is DataType

getDefaultColumnValueType

public DataType getDefaultColumnValueType()
Gets the value of the defaultColumnValueType property.

Returns:
possible object is DataType

setDefaultColumnValueType

public void setDefaultColumnValueType(DataType value)
Sets the value of the defaultColumnValueType property.

Parameters:
value - allowed object is DataType

getColumnMetadata

public List<ColumnMetadata> getColumnMetadata()
Gets the value of the columnMetadata property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the columnMetadata property.

For example, to add a new item, do as follows:

    getColumnMetadata().add(newItem);
 

Objects of the following type(s) are allowed in the list ColumnMetadata


getRow

public List<Row> getRow()
Gets the value of the row property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the row property.

For example, to add a new item, do as follows:

    getRow().add(newItem);
 

Objects of the following type(s) are allowed in the list Row



Copyright © 2012. All Rights Reserved.