org.cassandraunit.dataset.xml
Class Row

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

public class Row
extends Object

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

key

protected String key

superColumn

protected List<SuperColumn> superColumn

column

protected List<Column> column
Constructor Detail

Row

public Row()
Method Detail

getKey

public String getKey()
Gets the value of the key property.

Returns:
possible object is String

setKey

public void setKey(String value)
Sets the value of the key property.

Parameters:
value - allowed object is String

getSuperColumn

public List<SuperColumn> getSuperColumn()
Gets the value of the superColumn 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 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


getColumn

public List<Column> getColumn()
Gets the value of the column 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 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



Copyright © 2012. All Rights Reserved.