|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.structure.CodelistRefType
public class CodelistRefType
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 |
|---|
protected String urn
protected String agencyID
protected String codelistID
protected String version
protected String alias
| Constructor Detail |
|---|
public CodelistRefType()
| Method Detail |
|---|
public String getURN()
Stringpublic void setURN(String value)
value - allowed object is
Stringpublic String getAgencyID()
Stringpublic void setAgencyID(String value)
value - allowed object is
Stringpublic String getCodelistID()
Stringpublic void setCodelistID(String value)
value - allowed object is
Stringpublic String getVersion()
Stringpublic void setVersion(String value)
value - allowed object is
Stringpublic String getAlias()
Stringpublic void setAlias(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||