org.sdmx.resources.sdmxml.schemas.v2_0.structure
Class CategorySchemeMapType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.structure.CategorySchemeMapType

public class CategorySchemeMapType
extends Object

CategorySchemeMap provides for the mapping of categories in one scheme against those in another. It requires a human-readable Name, and can have a longer human-readable Description, both of which can be supplied in multiple, parallel-language form. It may be annotated using Annotations. The id attribute carries a unique ID for CategorySchemeMaps within the StructureSet. CategorySchemeRef identifies the source CategoryScheme; TargetCategorySchemeRef identifies the target CategoryScheme.

Java class for CategorySchemeMapType complex type.

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

 <complexType name="CategorySchemeMapType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TextType" maxOccurs="unbounded"/>
         <element name="Description" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TextType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="CategorySchemeRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}CategorySchemeRefType"/>
         <element name="TargetCategorySchemeRef" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}CategorySchemeRefType"/>
         <element name="CategoryMap" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}CategoryMapType" maxOccurs="unbounded"/>
         <element name="Annotations" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}AnnotationsType" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AnnotationsType annotations
           
protected  List<CategoryMapType> categoryMap
           
protected  CategorySchemeRefType categorySchemeRef
           
protected  List<TextType> description
           
protected  String id
           
protected  List<TextType> name
           
protected  CategorySchemeRefType targetCategorySchemeRef
           
 
Constructor Summary
CategorySchemeMapType()
           
 
Method Summary
 AnnotationsType getAnnotations()
          Gets the value of the annotations property.
 List<CategoryMapType> getCategoryMap()
          Gets the value of the categoryMap property.
 CategorySchemeRefType getCategorySchemeRef()
          Gets the value of the categorySchemeRef property.
 List<TextType> getDescription()
          Gets the value of the description property.
 String getId()
          Gets the value of the id property.
 List<TextType> getName()
          Gets the value of the name property.
 CategorySchemeRefType getTargetCategorySchemeRef()
          Gets the value of the targetCategorySchemeRef property.
 void setAnnotations(AnnotationsType value)
          Sets the value of the annotations property.
 void setCategorySchemeRef(CategorySchemeRefType value)
          Sets the value of the categorySchemeRef property.
 void setId(String value)
          Sets the value of the id property.
 void setTargetCategorySchemeRef(CategorySchemeRefType value)
          Sets the value of the targetCategorySchemeRef property.
 
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

categorySchemeRef

protected CategorySchemeRefType categorySchemeRef

targetCategorySchemeRef

protected CategorySchemeRefType targetCategorySchemeRef

categoryMap

protected List<CategoryMapType> categoryMap

annotations

protected AnnotationsType annotations

id

protected String id
Constructor Detail

CategorySchemeMapType

public CategorySchemeMapType()
Method Detail

getName

public List<TextType> getName()
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()
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


getCategorySchemeRef

public CategorySchemeRefType getCategorySchemeRef()
Gets the value of the categorySchemeRef property.

Returns:
possible object is CategorySchemeRefType

setCategorySchemeRef

public void setCategorySchemeRef(CategorySchemeRefType value)
Sets the value of the categorySchemeRef property.

Parameters:
value - allowed object is CategorySchemeRefType

getTargetCategorySchemeRef

public CategorySchemeRefType getTargetCategorySchemeRef()
Gets the value of the targetCategorySchemeRef property.

Returns:
possible object is CategorySchemeRefType

setTargetCategorySchemeRef

public void setTargetCategorySchemeRef(CategorySchemeRefType value)
Sets the value of the targetCategorySchemeRef property.

Parameters:
value - allowed object is CategorySchemeRefType

getCategoryMap

public List<CategoryMapType> getCategoryMap()
Gets the value of the categoryMap 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 categoryMap property.

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

    getCategoryMap().add(newItem);
 

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


getAnnotations

public AnnotationsType getAnnotations()
Gets the value of the annotations property.

Returns:
possible object is AnnotationsType

setAnnotations

public void setAnnotations(AnnotationsType value)
Sets the value of the annotations property.

Parameters:
value - allowed object is AnnotationsType

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.