org.sdmx.resources.sdmxml.schemas.v2_0.registry
Class AgencyRefType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.registry.AgencyRefType

public class AgencyRefType
extends Object

The AgencyRef type structures a reference to an Agency. This requires that IDs be provided for an organisation scheme, its maintenance agency, and the agency as identified in the referenced organisation scheme. The Version element may be used to specify the version of the indicated agency. If absent, the most recent version is assumed. The URN element is used to provide the registry-specific urn as an alternate means of identification. At a minimum, either the URN element or OrgansisationSchemeID, OrganisationSchemeAgencyID, AgencyID, and (optionally) Version must be supplied. When used in a response document of any type, the URN must always be provided.

Java class for AgencyRefType complex type.

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

 <complexType name="AgencyRefType">
   <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="OrganisationSchemeAgencyID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="OrganisationSchemeID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="AgencyID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType"/>
         <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String agencyID
           
protected  String organisationSchemeAgencyID
           
protected  String organisationSchemeID
           
protected  String urn
           
protected  String version
           
 
Constructor Summary
AgencyRefType()
           
 
Method Summary
 String getAgencyID()
          Gets the value of the agencyID property.
 String getOrganisationSchemeAgencyID()
          Gets the value of the organisationSchemeAgencyID property.
 String getOrganisationSchemeID()
          Gets the value of the organisationSchemeID 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 setOrganisationSchemeAgencyID(String value)
          Sets the value of the organisationSchemeAgencyID property.
 void setOrganisationSchemeID(String value)
          Sets the value of the organisationSchemeID 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

organisationSchemeAgencyID

protected String organisationSchemeAgencyID

organisationSchemeID

protected String organisationSchemeID

agencyID

protected String agencyID

version

protected String version
Constructor Detail

AgencyRefType

public AgencyRefType()
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

getOrganisationSchemeAgencyID

public String getOrganisationSchemeAgencyID()
Gets the value of the organisationSchemeAgencyID property.

Returns:
possible object is String

setOrganisationSchemeAgencyID

public void setOrganisationSchemeAgencyID(String value)
Sets the value of the organisationSchemeAgencyID property.

Parameters:
value - allowed object is String

getOrganisationSchemeID

public String getOrganisationSchemeID()
Gets the value of the organisationSchemeID property.

Returns:
possible object is String

setOrganisationSchemeID

public void setOrganisationSchemeID(String value)
Sets the value of the organisationSchemeID 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

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


Copyright © 2012. All Rights Reserved.