|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cassandraunit.dataset.xml.ColumnFamily
public class ColumnFamily
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 |
|---|
protected String name
protected ColumnFamilyType type
protected String keyType
protected String comparatorType
protected DataType subComparatorType
protected DataType defaultColumnValueType
protected List<ColumnMetadata> columnMetadata
protected List<Row> row
| Constructor Detail |
|---|
public ColumnFamily()
| Method Detail |
|---|
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic ColumnFamilyType getType()
ColumnFamilyTypepublic void setType(ColumnFamilyType value)
value - allowed object is
ColumnFamilyTypepublic String getKeyType()
Stringpublic void setKeyType(String value)
value - allowed object is
Stringpublic String getComparatorType()
Stringpublic void setComparatorType(String value)
value - allowed object is
Stringpublic DataType getSubComparatorType()
DataTypepublic void setSubComparatorType(DataType value)
value - allowed object is
DataTypepublic DataType getDefaultColumnValueType()
DataTypepublic void setDefaultColumnValueType(DataType value)
value - allowed object is
DataTypepublic List<ColumnMetadata> getColumnMetadata()
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
public List<Row> getRow()
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||