com.ca.commons.datamodel.xmlbind
Class CollectionValue

java.lang.Object
  extended by com.ca.commons.datamodel.xmlbind.CollectionValue

public class CollectionValue
extends Object

Java class for CollectionValue complex type.

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

 <complexType name="CollectionValue">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="baseType" type="{http://www.ca.com/xml/commons/datamodel}SimpleValue" minOccurs="0"/>
         <element name="val" type="{http://www.ca.com/xml/commons/datamodel}SimpleValue" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  SimpleValue baseType
           
protected  List<SimpleValue> val
           
 
Constructor Summary
CollectionValue()
           
 
Method Summary
 SimpleValue getBaseType()
          Gets the value of the baseType property.
 List<SimpleValue> getVal()
          Gets the value of the val property.
 boolean isSetBaseType()
           
 boolean isSetVal()
           
 void setBaseType(SimpleValue value)
          Sets the value of the baseType property.
 void unsetVal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

baseType

protected SimpleValue baseType

val

protected List<SimpleValue> val
Constructor Detail

CollectionValue

public CollectionValue()
Method Detail

getBaseType

public SimpleValue getBaseType()
Gets the value of the baseType property.

Returns:
possible object is SimpleValue

setBaseType

public void setBaseType(SimpleValue value)
Sets the value of the baseType property.

Parameters:
value - allowed object is SimpleValue

isSetBaseType

public boolean isSetBaseType()

getVal

public List<SimpleValue> getVal()
Gets the value of the val 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 val property.

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

    getVal().add(newItem);
 

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


isSetVal

public boolean isSetVal()

unsetVal

public void unsetVal()


Created 2011-07-14 13:27 EST