org.sdmx.resources.sdmxml.schemas.v2_1.data.generic
Class ValuesType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.data.generic.ValuesType

public class ValuesType
extends Object

ValuesType is a general structure which contains a collection of data structure definition component values. This type is used to provide both key and attribute collection values.

Java class for ValuesType complex type.

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

 <complexType name="ValuesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Value" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic}ComponentValueType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


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

Field Detail

value

protected List<ComponentValueType> value
Constructor Detail

ValuesType

public ValuesType()
Method Detail

getValue

public List<ComponentValueType> getValue()
Gets the value of the value 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 value property.

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

    getValue().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.