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

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
Direct Known Subclasses:
HierarchyBaseType, HybridCodelistMapBaseType, ItemBaseType, ItemSchemeMapBaseType, LevelBaseType, ProcessStepBaseType, StructureMapBaseType, VersionableType

public abstract class NameableType
extends IdentifiableType

NameableType is an abstract base type for all nameable objects.

Java class for NameableType complex type.

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

 <complexType name="NameableType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}IdentifiableType">
       <sequence>
         <element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}Name" maxOccurs="unbounded"/>
         <element ref="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}Description" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<TextType> description
           
protected  List<TextType> 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
NameableType()
           
 
Method Summary
 List<TextType> getDescription()
          Description provides for a longer human-readable description of the object.
 List<TextType> getName()
          Name provides for a human-readable name for the object.
 
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

name

protected List<TextType> name

description

protected List<TextType> description
Constructor Detail

NameableType

public NameableType()
Method Detail

getName

public List<TextType> getName()
Name provides for a human-readable name for the object. This may be provided in multiple, parallel language-equivalent forms.Gets the value of the name 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 name property.

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

    getName().add(newItem);
 

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


getDescription

public List<TextType> getDescription()
Description provides for a longer human-readable description of the object. This may be provided in multiple, parallel language-equivalent forms.Gets the value of the description 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 description property.

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

    getDescription().add(newItem);
 

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



Copyright © 2012. All Rights Reserved.