org.apache.cassandra.loader
Class FieldCollection

java.lang.Object
  extended by org.apache.cassandra.loader.FieldCollection

public class FieldCollection
extends java.lang.Object

Java class for FieldCollection complex type.

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

 <complexType name="FieldCollection">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Field" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Integer> field
           
 
Constructor Summary
FieldCollection()
           
 
Method Summary
 java.util.List<java.lang.Integer> getField()
          Gets the value of the field property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

field

protected java.util.List<java.lang.Integer> field
Constructor Detail

FieldCollection

public FieldCollection()
Method Detail

getField

public java.util.List<java.lang.Integer> getField()
Gets the value of the field 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 field property.

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

    getField().add(newItem);
 

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



Copyright © 2009 The Apache Software Foundation