|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cassandraunit.dataset.xml.Row
public class Row
Java class for Row complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Row">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="superColumn" type="{http://xml.dataset.cassandraunit.org}SuperColumn" maxOccurs="unbounded" minOccurs="0"/>
<element name="column" type="{http://xml.dataset.cassandraunit.org}Column" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Column> |
column
|
protected String |
key
|
protected List<SuperColumn> |
superColumn
|
| Constructor Summary | |
|---|---|
Row()
|
|
| Method Summary | |
|---|---|
List<Column> |
getColumn()
Gets the value of the column property. |
String |
getKey()
Gets the value of the key property. |
List<SuperColumn> |
getSuperColumn()
Gets the value of the superColumn property. |
void |
setKey(String value)
Sets the value of the key property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String key
protected List<SuperColumn> superColumn
protected List<Column> column
| Constructor Detail |
|---|
public Row()
| Method Detail |
|---|
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic List<SuperColumn> getSuperColumn()
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 superColumn property.
For example, to add a new item, do as follows:
getSuperColumn().add(newItem);
Objects of the following type(s) are allowed in the list
SuperColumn
public List<Column> getColumn()
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 column property.
For example, to add a new item, do as follows:
getColumn().add(newItem);
Objects of the following type(s) are allowed in the list
Column
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||