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

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.StructureMapBaseType
                  extended by org.sdmx.resources.sdmxml.schemas.v2_1.structure.StructureMapType

public class StructureMapType
extends StructureMapBaseType

StructureMapType defines the structure for mapping components of one structure to components of another structure. A structure may be referenced directly meaning the map applies wherever the structure is used, or it may be a reference via a structure usage meaning the map only applies within the context of that usage. Using the related structures, one can make extrapolations between maps. For example, if key families, A, B, and C, are all grouped in a related structures container, then a map from key family A to C and a map from key family B to C could be used to infer a relation between key family A to C.

Java class for StructureMapType complex type.

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

 <complexType name="StructureMapType">
   <complexContent>
     <extension base="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}StructureMapBaseType">
       <sequence>
         <element name="Source" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}StructureOrUsageReferenceType"/>
         <element name="Target" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}StructureOrUsageReferenceType"/>
         <element name="ComponentMap" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure}ComponentMapType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="isExtension" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ComponentMapType> componentMap
           
protected  Boolean isExtension
           
protected  StructureOrUsageReferenceType source
           
protected  StructureOrUsageReferenceType target
           
 
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
StructureMapType()
           
 
Method Summary
 List<ComponentMapType> getComponentMap()
          Gets the value of the componentMap property.
 StructureOrUsageReferenceType getSource()
          Gets the value of the source property.
 StructureOrUsageReferenceType getTarget()
          Gets the value of the target property.
 boolean isIsExtension()
          Gets the value of the isExtension property.
 void setIsExtension(Boolean value)
          Sets the value of the isExtension property.
 void setSource(StructureOrUsageReferenceType value)
          Sets the value of the source property.
 void setTarget(StructureOrUsageReferenceType value)
          Sets the value of the target 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

source

protected StructureOrUsageReferenceType source

target

protected StructureOrUsageReferenceType target

componentMap

protected List<ComponentMapType> componentMap

isExtension

protected Boolean isExtension
Constructor Detail

StructureMapType

public StructureMapType()
Method Detail

getSource

public StructureOrUsageReferenceType getSource()
Gets the value of the source property.

Returns:
possible object is StructureOrUsageReferenceType

setSource

public void setSource(StructureOrUsageReferenceType value)
Sets the value of the source property.

Parameters:
value - allowed object is StructureOrUsageReferenceType

getTarget

public StructureOrUsageReferenceType getTarget()
Gets the value of the target property.

Returns:
possible object is StructureOrUsageReferenceType

setTarget

public void setTarget(StructureOrUsageReferenceType value)
Sets the value of the target property.

Parameters:
value - allowed object is StructureOrUsageReferenceType

getComponentMap

public List<ComponentMapType> getComponentMap()
Gets the value of the componentMap 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 componentMap property.

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

    getComponentMap().add(newItem);
 

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


isIsExtension

public boolean isIsExtension()
Gets the value of the isExtension property.

Returns:
possible object is Boolean

setIsExtension

public void setIsExtension(Boolean value)
Sets the value of the isExtension property.

Parameters:
value - allowed object is Boolean


Copyright © 2012. All Rights Reserved.