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

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

public class DataRegistrationEventsType
extends Object

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

Java class for DataRegistrationEventsType complex type.

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

 <complexType name="DataRegistrationEventsType">
   <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="DataflowReference" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}MaintainableEventType"/>
           <element name="KeyFamilyReference" 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="DATA" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EmptyType allEvents
           
protected  List<JAXBElement<?>> registrationIDOrProvisionAgreementOrDataProvider
           
protected  String type
           
 
Constructor Summary
DataRegistrationEventsType()
           
 
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

DataRegistrationEventsType

public DataRegistrationEventsType()
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<CategoryReferenceType> JAXBElement<String> JAXBElement<ProvisionAgreementReferenceType> JAXBElement<DataProviderReferenceType> 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.