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

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

public class CodelistRefType
extends Object

The CodelistRefType provides the structure for a codelist reference. (Note that this is structured differently than a similarly-named type in the Registry namespace.) At a minimum, either: AgencyID has the ID of an agency as a value; CodelistID takes the ID of a codelist maintained by that agency; and Version specifies the version of the codelist; or URN supplies a valid SDMX Registry URN (see the SDMX Registry Specification). Alias is used to carry the identifier for the referenced codelist, so that codes from that list can be easily referenced by the CodeRefs contained in the parent Hierarchy, without having to repeat the agency and version for each reference. The Alias must be unique within the parent Hierarchical Codelist.

Java class for CodelistRefType complex type.

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

 <complexType name="CodelistRefType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="URN" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="AgencyID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" minOccurs="0"/>
         <element name="CodelistID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" minOccurs="0"/>
         <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Alias" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String agencyID
           
protected  String alias
           
protected  String codelistID
           
protected  String urn
           
protected  String version
           
 
Constructor Summary
CodelistRefType()
           
 
Method Summary
 String getAgencyID()
          Gets the value of the agencyID property.
 String getAlias()
          Gets the value of the alias property.
 String getCodelistID()
          Gets the value of the codelistID property.
 String getURN()
          Gets the value of the urn property.
 String getVersion()
          Gets the value of the version property.
 void setAgencyID(String value)
          Sets the value of the agencyID property.
 void setAlias(String value)
          Sets the value of the alias property.
 void setCodelistID(String value)
          Sets the value of the codelistID property.
 void setURN(String value)
          Sets the value of the urn property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

urn

protected String urn

agencyID

protected String agencyID

codelistID

protected String codelistID

version

protected String version

alias

protected String alias
Constructor Detail

CodelistRefType

public CodelistRefType()
Method Detail

getURN

public String getURN()
Gets the value of the urn property.

Returns:
possible object is String

setURN

public void setURN(String value)
Sets the value of the urn property.

Parameters:
value - allowed object is String

getAgencyID

public String getAgencyID()
Gets the value of the agencyID property.

Returns:
possible object is String

setAgencyID

public void setAgencyID(String value)
Sets the value of the agencyID property.

Parameters:
value - allowed object is String

getCodelistID

public String getCodelistID()
Gets the value of the codelistID property.

Returns:
possible object is String

setCodelistID

public void setCodelistID(String value)
Sets the value of the codelistID property.

Parameters:
value - allowed object is String

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getAlias

public String getAlias()
Gets the value of the alias property.

Returns:
possible object is String

setAlias

public void setAlias(String value)
Sets the value of the alias property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.