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

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

public class MetadataRegistrationEventsType
extends Object

MetadataRegistrationEventsType details the metadata registration events for the subscription. It is possible to subscribe to all metadata registration events in the repository, or specific events for; single registrations, provision agreements, data providers, metadata flows, metadata structure definitions, and categories that categorize metadata flows or metadata structure definitions.

Java class for MetadataRegistrationEventsType complex type.

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

 <complexType name="MetadataRegistrationEventsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="AllEvents" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}EmptyType"/>
         <choice maxOccurs="unbounded">
           <element name="RegistrationID" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType"/>
           <element name="ProvisionAgreement" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ProvisionAgreementReferenceType"/>
           <element name="DataProvider" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}DataProviderReferenceType"/>
           <element name="MetadataflowReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}MaintainableEventType"/>
           <element name="MetadataStructureDefinitionReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}MaintainableEventType"/>
           <element name="Category" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}CategoryReferenceType"/>
         </choice>
       </choice>
       <attribute name="TYPE" type="{http://www.w3.org/2001/XMLSchema}string" fixed="METADATA" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EmptyType allEvents
           
protected  List<JAXBElement<?>> registrationIDOrProvisionAgreementOrDataProvider
           
protected  String type
           
 
Constructor Summary
MetadataRegistrationEventsType()
           
 
Method Summary
 EmptyType getAllEvents()
          Gets the value of the allEvents property.
 List<JAXBElement<?>> getRegistrationIDOrProvisionAgreementOrDataProvider()
          Gets the value of the registrationIDOrProvisionAgreementOrDataProvider 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

allEvents

protected EmptyType allEvents

registrationIDOrProvisionAgreementOrDataProvider

protected List<JAXBElement<?>> registrationIDOrProvisionAgreementOrDataProvider

type

protected String type
Constructor Detail

MetadataRegistrationEventsType

public MetadataRegistrationEventsType()
Method Detail

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

getRegistrationIDOrProvisionAgreementOrDataProvider

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

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

    getRegistrationIDOrProvisionAgreementOrDataProvider().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<DataProviderReferenceType> JAXBElement<CategoryReferenceType> JAXBElement<String> JAXBElement<ProvisionAgreementReferenceType> JAXBElement<MaintainableEventType> JAXBElement<MaintainableEventType>


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.