org.sdmx.resources.sdmxml.schemas.v2_0.common
Class KeyType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.common.KeyType

public class KeyType
extends Object

Key allows for sets of component references - holding the name of the component's concept - and a permitted value for that component. This conctruct can be repeated as many times as dessired, but must describe complete keys according to teh relevant structure definition (key family).

Java class for KeyType complex type.

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

 <complexType name="KeyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded">
         <element name="ComponentRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


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

Field Detail

componentRefAndValue

protected List<JAXBElement<String>> componentRefAndValue
Constructor Detail

KeyType

public KeyType()
Method Detail

getComponentRefAndValue

public List<JAXBElement<String>> getComponentRefAndValue()
Gets the value of the componentRefAndValue 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 componentRefAndValue property.

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

    getComponentRefAndValue().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<String> JAXBElement<String>



Copyright © 2012. All Rights Reserved.