org.sdmx.resources.sdmxml.schemas.v2_1.structure
Class KeySetType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.KeySetType
Direct Known Subclasses:
DataKeySetType, MetadataKeySetType

public abstract class KeySetType
extends Object

KeySetType is an abstract base type for defining a collection of keys.

Java class for KeySetType complex type.

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

 <complexType name="KeySetType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Key" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}DistinctKeyType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="isIncluded" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  boolean isIncluded
           
protected  List<DistinctKeyType> key
           
 
Constructor Summary
KeySetType()
           
 
Method Summary
 List<DistinctKeyType> getKey()
          Gets the value of the key property.
 boolean isIsIncluded()
          Gets the value of the isIncluded property.
 void setIsIncluded(boolean value)
          Sets the value of the isIncluded property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected List<DistinctKeyType> key

isIncluded

protected boolean isIncluded
Constructor Detail

KeySetType

public KeySetType()
Method Detail

getKey

public List<DistinctKeyType> getKey()
Gets the value of the key 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 key property.

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

    getKey().add(newItem);
 

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


isIsIncluded

public boolean isIsIncluded()
Gets the value of the isIncluded property.


setIsIncluded

public void setIsIncluded(boolean value)
Sets the value of the isIncluded property.



Copyright © 2012. All Rights Reserved.