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

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

public class OrganisationType
extends Object

OrganisationType provides a structure for describing agencies, data providers, and data consumers and their contact information. The id attribute carries a code identifying the agency. The version attribute indicates the version of the agency description. The uri attribute provides a uri for an alternate way of identifying the agency information (typically a URL resolving to an agency described in SDMX-ML). Name is an element which provides for a human-readable name for the organization. Description provides for a longer human-readable description of the organisation, which may be provided in multiple, parallel language-equivalent forms. MaintenanceContact provides contact information for the agency when acting as a MaintenanceAgency; CollectorContact does the same when the agency is acting as a statistics collector; DisseminatorContact for when the agency functions as a statistics disseminator; and ReporterContact for when the Agency is functioning as a statistics reporter. OtherContact is used to describe any other role. Note that the Role field in the contact information structure should only be specified for OtherContact. It is allowable to reference full Agency information by using (at a minimum) only the id, name, and uri fields, with the uri pointing to an external description in a valid SDMX-ML Structure message which provides more complete information. (This is termed an "external reference".) If an external reference is being made, the isExternalReference attribute must be set to "true". The urn attribute holds a valid SDMX Registry URN (see SDMX Registry Specification). The parentOrganisation attribute holds the id of a parent organisation of the same type from the same scheme, indicating that the organisation in question is a department or other sub-division of the parent organisation. Annotations may be provided using the Annotations element, in multiple, parallel-language form.

Java class for OrganisationType complex type.

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

 <complexType name="OrganisationType">
   <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="MaintenanceContact" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}ContactType" minOccurs="0"/>
         <element name="CollectorContact" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}ContactType" minOccurs="0"/>
         <element name="DisseminatorContact" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}ContactType" minOccurs="0"/>
         <element name="ReporterContact" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}ContactType" minOccurs="0"/>
         <element name="OtherContact" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure}ContactType" maxOccurs="unbounded" minOccurs="0"/>
         <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" />
       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="urn" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="isExternalReference" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="parentOrganisation" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" />
       <attribute name="validFrom" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TimePeriodType" />
       <attribute name="validTo" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}TimePeriodType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AnnotationsType annotations
           
protected  ContactType collectorContact
           
protected  List<TextType> description
           
protected  ContactType disseminatorContact
           
protected  String id
           
protected  Boolean isExternalReference
           
protected  ContactType maintenanceContact
           
protected  List<TextType> name
           
protected  List<ContactType> otherContact
           
protected  String parentOrganisation
           
protected  ContactType reporterContact
           
protected  String uri
           
protected  String urn
           
protected  String validFrom
           
protected  String validTo
           
protected  String version
           
 
Constructor Summary
OrganisationType()
           
 
Method Summary
 AnnotationsType getAnnotations()
          Gets the value of the annotations property.
 ContactType getCollectorContact()
          Gets the value of the collectorContact property.
 List<TextType> getDescription()
          Gets the value of the description property.
 ContactType getDisseminatorContact()
          Gets the value of the disseminatorContact property.
 String getId()
          Gets the value of the id property.
 ContactType getMaintenanceContact()
          Gets the value of the maintenanceContact property.
 List<TextType> getName()
          Gets the value of the name property.
 List<ContactType> getOtherContact()
          Gets the value of the otherContact property.
 String getParentOrganisation()
          Gets the value of the parentOrganisation property.
 ContactType getReporterContact()
          Gets the value of the reporterContact property.
 String getUri()
          Gets the value of the uri property.
 String getUrn()
          Gets the value of the urn property.
 String getValidFrom()
          Gets the value of the validFrom property.
 String getValidTo()
          Gets the value of the validTo property.
 String getVersion()
          Gets the value of the version property.
 Boolean isIsExternalReference()
          Gets the value of the isExternalReference property.
 void setAnnotations(AnnotationsType value)
          Sets the value of the annotations property.
 void setCollectorContact(ContactType value)
          Sets the value of the collectorContact property.
 void setDisseminatorContact(ContactType value)
          Sets the value of the disseminatorContact property.
 void setId(String value)
          Sets the value of the id property.
 void setIsExternalReference(Boolean value)
          Sets the value of the isExternalReference property.
 void setMaintenanceContact(ContactType value)
          Sets the value of the maintenanceContact property.
 void setParentOrganisation(String value)
          Sets the value of the parentOrganisation property.
 void setReporterContact(ContactType value)
          Sets the value of the reporterContact property.
 void setUri(String value)
          Sets the value of the uri property.
 void setUrn(String value)
          Sets the value of the urn property.
 void setValidFrom(String value)
          Sets the value of the validFrom property.
 void setValidTo(String value)
          Sets the value of the validTo 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

name

protected List<TextType> name

description

protected List<TextType> description

maintenanceContact

protected ContactType maintenanceContact

collectorContact

protected ContactType collectorContact

disseminatorContact

protected ContactType disseminatorContact

reporterContact

protected ContactType reporterContact

otherContact

protected List<ContactType> otherContact

annotations

protected AnnotationsType annotations

id

protected String id

version

protected String version

urn

protected String urn

uri

protected String uri

isExternalReference

protected Boolean isExternalReference

parentOrganisation

protected String parentOrganisation

validFrom

protected String validFrom

validTo

protected String validTo
Constructor Detail

OrganisationType

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


getMaintenanceContact

public ContactType getMaintenanceContact()
Gets the value of the maintenanceContact property.

Returns:
possible object is ContactType

setMaintenanceContact

public void setMaintenanceContact(ContactType value)
Sets the value of the maintenanceContact property.

Parameters:
value - allowed object is ContactType

getCollectorContact

public ContactType getCollectorContact()
Gets the value of the collectorContact property.

Returns:
possible object is ContactType

setCollectorContact

public void setCollectorContact(ContactType value)
Sets the value of the collectorContact property.

Parameters:
value - allowed object is ContactType

getDisseminatorContact

public ContactType getDisseminatorContact()
Gets the value of the disseminatorContact property.

Returns:
possible object is ContactType

setDisseminatorContact

public void setDisseminatorContact(ContactType value)
Sets the value of the disseminatorContact property.

Parameters:
value - allowed object is ContactType

getReporterContact

public ContactType getReporterContact()
Gets the value of the reporterContact property.

Returns:
possible object is ContactType

setReporterContact

public void setReporterContact(ContactType value)
Sets the value of the reporterContact property.

Parameters:
value - allowed object is ContactType

getOtherContact

public List<ContactType> getOtherContact()
Gets the value of the otherContact 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 otherContact property.

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

    getOtherContact().add(newItem);
 

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


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

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

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

getUri

public String getUri()
Gets the value of the uri property.

Returns:
possible object is String

setUri

public void setUri(String value)
Sets the value of the uri property.

Parameters:
value - allowed object is String

isIsExternalReference

public Boolean isIsExternalReference()
Gets the value of the isExternalReference property.

Returns:
possible object is Boolean

setIsExternalReference

public void setIsExternalReference(Boolean value)
Sets the value of the isExternalReference property.

Parameters:
value - allowed object is Boolean

getParentOrganisation

public String getParentOrganisation()
Gets the value of the parentOrganisation property.

Returns:
possible object is String

setParentOrganisation

public void setParentOrganisation(String value)
Sets the value of the parentOrganisation property.

Parameters:
value - allowed object is String

getValidFrom

public String getValidFrom()
Gets the value of the validFrom property.

Returns:
possible object is String

setValidFrom

public void setValidFrom(String value)
Sets the value of the validFrom property.

Parameters:
value - allowed object is String

getValidTo

public String getValidTo()
Gets the value of the validTo property.

Returns:
possible object is String

setValidTo

public void setValidTo(String value)
Sets the value of the validTo property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.