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

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
      extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
          extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
              extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.HierarchyBaseType
                  extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.HierarchyType

public class HierarchyType
extends HierarchyBaseType

The Hierarchy is an abstract type that provides for a classification structure of referenced codes arranged in levels of detail from the broadest to the most detailed level. The levels in which the code exist can be formal or informal.

Java class for HierarchyType complex type.

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

 <complexType name="HierarchyType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}HierarchyBaseType">
       <sequence>
         <element name="HierarchicalCode" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}HierarchicalCodeType" maxOccurs="unbounded"/>
         <element name="Level" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}LevelType" minOccurs="0"/>
       </sequence>
       <attribute name="leveled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<HierarchicalCodeType> hierarchicalCode
           
protected  LevelType level
           
protected  Boolean leveled
           
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
description, name
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
id, uri, urn
 
Fields inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
annotations
 
Constructor Summary
HierarchyType()
           
 
Method Summary
 List<HierarchicalCodeType> getHierarchicalCode()
          Gets the value of the hierarchicalCode property.
 LevelType getLevel()
          Gets the value of the level property.
 boolean isLeveled()
          Gets the value of the leveled property.
 void setLevel(LevelType value)
          Sets the value of the level property.
 void setLeveled(Boolean value)
          Sets the value of the leveled property.
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.NameableType
getDescription, getName
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.structure.IdentifiableType
getId, getUri, getUrn, setId, setUri, setUrn
 
Methods inherited from class org.sdmx.resources.sdmxml.schemas.v2_1.common.AnnotableType
getAnnotations, setAnnotations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hierarchicalCode

protected List<HierarchicalCodeType> hierarchicalCode

level

protected LevelType level

leveled

protected Boolean leveled
Constructor Detail

HierarchyType

public HierarchyType()
Method Detail

getHierarchicalCode

public List<HierarchicalCodeType> getHierarchicalCode()
Gets the value of the hierarchicalCode 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 hierarchicalCode property.

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

    getHierarchicalCode().add(newItem);
 

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


getLevel

public LevelType getLevel()
Gets the value of the level property.

Returns:
possible object is LevelType

setLevel

public void setLevel(LevelType value)
Sets the value of the level property.

Parameters:
value - allowed object is LevelType

isLeveled

public boolean isLeveled()
Gets the value of the leveled property.

Returns:
possible object is Boolean

setLeveled

public void setLeveled(Boolean value)
Sets the value of the leveled property.

Parameters:
value - allowed object is Boolean


Copyright © 2012. All Rights Reserved.