org.sdmx.resources.sdmxml.schemas.v2_1.registry
Class StructuralRepositoryEventsType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.registry.StructuralRepositoryEventsType

public class StructuralRepositoryEventsType
extends Object

StructuralRepositoryEventsType details the structural events for the subscription. At least one maintenance agency must be specified, although it may be given a wildcard value (meaning the subscription is for the structural events of all agencies). This can also be a list of agencies to allow the subscription to subscribe the events of more than one agency. It should be noted that when doing so, all of the subsequent objects are assumed to apply to every agency in the list. The subscription is then refined by detailing the structural objects maintained by the agency for which the subscription should apply. It is possible to explicitly select all object events, all objects of given types, or to individually list out specific objects. Note that for any object, it is also possible to provide an explicit URN to reference a distinct object. In this case, the reference to maintenance agency described above is ignored. Although it is not required, if specific objects are being referenced by explicit URNs, it is good practice to list the agencies.

Java class for StructuralRepositoryEventsType complex type.

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

 <complexType name="StructuralRepositoryEventsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="AgencyID" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}NestedIDQueryType" maxOccurs="unbounded"/>
         <choice>
           <element name="AllEvents" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}EmptyType"/>
           <choice maxOccurs="unbounded">
             <element name="AgencyScheme" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="DataConsmerScheme" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="DataProviderScheme" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="OrganisationUnitScheme" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="Dataflow" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="Metadataflow" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="CategoryScheme" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="Categorisation" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}IdentifiableObjectEventType"/>
             <element name="Codelist" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="HierarchicalCodelist" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="ConceptScheme" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="MetadataStructureDefinition" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="KeyFamily" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="StructureSet" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="ReportingTaxonomy" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="Process" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="AttachmentConstraint" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="ContentConstraint" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
             <element name="ProvisionAgreement" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}VersionableObjectEventType"/>
           </choice>
         </choice>
       </sequence>
       <attribute name="TYPE" type="{http://www.w3.org/2001/XMLSchema}string" fixed="STRUCTURE" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<String> agencyID
           
protected  List<JAXBElement<?>> agencySchemeOrDataConsmerSchemeOrDataProviderScheme
           
protected  EmptyType allEvents
           
protected  String type
           
 
Constructor Summary
StructuralRepositoryEventsType()
           
 
Method Summary
 List<String> getAgencyID()
          Gets the value of the agencyID property.
 List<JAXBElement<?>> getAgencySchemeOrDataConsmerSchemeOrDataProviderScheme()
          Gets the value of the agencySchemeOrDataConsmerSchemeOrDataProviderScheme property.
 EmptyType getAllEvents()
          Gets the value of the allEvents property.
 String getTYPE()
          Gets the value of the type property.
 void setAllEvents(EmptyType value)
          Sets the value of the allEvents property.
 void setTYPE(String value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

agencyID

protected List<String> agencyID

allEvents

protected EmptyType allEvents

agencySchemeOrDataConsmerSchemeOrDataProviderScheme

protected List<JAXBElement<?>> agencySchemeOrDataConsmerSchemeOrDataProviderScheme

type

protected String type
Constructor Detail

StructuralRepositoryEventsType

public StructuralRepositoryEventsType()
Method Detail

getAgencyID

public List<String> getAgencyID()
Gets the value of the agencyID 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 agencyID property.

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

    getAgencyID().add(newItem);
 

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


getAllEvents

public EmptyType getAllEvents()
Gets the value of the allEvents property.

Returns:
possible object is EmptyType

setAllEvents

public void setAllEvents(EmptyType value)
Sets the value of the allEvents property.

Parameters:
value - allowed object is EmptyType

getAgencySchemeOrDataConsmerSchemeOrDataProviderScheme

public List<JAXBElement<?>> getAgencySchemeOrDataConsmerSchemeOrDataProviderScheme()
Gets the value of the agencySchemeOrDataConsmerSchemeOrDataProviderScheme 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 agencySchemeOrDataConsmerSchemeOrDataProviderScheme property.

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

    getAgencySchemeOrDataConsmerSchemeOrDataProviderScheme().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<IdentifiableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType> JAXBElement<VersionableObjectEventType>


getTYPE

public String getTYPE()
Gets the value of the type property.

Returns:
possible object is String

setTYPE

public void setTYPE(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.