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

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

public class NotifyRegistryEventType
extends Object

NotifyRegistryEventType describes the structure a registry notification, in response to a subscription to a registry event. At a minimum, the event time, a reference to the change object, a reference to the underlying subscription triggering the notification, and the action that took place on the object are sent. In addition, the full details of the object may be provided at the discretion of the registry. In the event that the details are not sent, it will be possible to query for the details of the changed object using the reference provided.

Java class for NotifyRegistryEventType complex type.

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

 <complexType name="NotifyRegistryEventType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="EventTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <choice>
           <element name="ObjectURN" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
           <element name="RegistrationID" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType"/>
         </choice>
         <element name="SubscriptionURN" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="EventAction" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ActionType"/>
         <choice minOccurs="0">
           <element name="StructuralEvent" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}StructuralEventType"/>
           <element name="RegistrationEvent" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}RegistrationEventType"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ActionType eventAction
           
protected  XMLGregorianCalendar eventTime
           
protected  String objectURN
           
protected  RegistrationEventType registrationEvent
           
protected  String registrationID
           
protected  StructuralEventType structuralEvent
           
protected  String subscriptionURN
           
 
Constructor Summary
NotifyRegistryEventType()
           
 
Method Summary
 ActionType getEventAction()
          Gets the value of the eventAction property.
 XMLGregorianCalendar getEventTime()
          Gets the value of the eventTime property.
 String getObjectURN()
          Gets the value of the objectURN property.
 RegistrationEventType getRegistrationEvent()
          Gets the value of the registrationEvent property.
 String getRegistrationID()
          Gets the value of the registrationID property.
 StructuralEventType getStructuralEvent()
          Gets the value of the structuralEvent property.
 String getSubscriptionURN()
          Gets the value of the subscriptionURN property.
 void setEventAction(ActionType value)
          Sets the value of the eventAction property.
 void setEventTime(XMLGregorianCalendar value)
          Sets the value of the eventTime property.
 void setObjectURN(String value)
          Sets the value of the objectURN property.
 void setRegistrationEvent(RegistrationEventType value)
          Sets the value of the registrationEvent property.
 void setRegistrationID(String value)
          Sets the value of the registrationID property.
 void setStructuralEvent(StructuralEventType value)
          Sets the value of the structuralEvent property.
 void setSubscriptionURN(String value)
          Sets the value of the subscriptionURN property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventTime

protected XMLGregorianCalendar eventTime

objectURN

protected String objectURN

registrationID

protected String registrationID

subscriptionURN

protected String subscriptionURN

eventAction

protected ActionType eventAction

structuralEvent

protected StructuralEventType structuralEvent

registrationEvent

protected RegistrationEventType registrationEvent
Constructor Detail

NotifyRegistryEventType

public NotifyRegistryEventType()
Method Detail

getEventTime

public XMLGregorianCalendar getEventTime()
Gets the value of the eventTime property.

Returns:
possible object is XMLGregorianCalendar

setEventTime

public void setEventTime(XMLGregorianCalendar value)
Sets the value of the eventTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getObjectURN

public String getObjectURN()
Gets the value of the objectURN property.

Returns:
possible object is String

setObjectURN

public void setObjectURN(String value)
Sets the value of the objectURN property.

Parameters:
value - allowed object is String

getRegistrationID

public String getRegistrationID()
Gets the value of the registrationID property.

Returns:
possible object is String

setRegistrationID

public void setRegistrationID(String value)
Sets the value of the registrationID property.

Parameters:
value - allowed object is String

getSubscriptionURN

public String getSubscriptionURN()
Gets the value of the subscriptionURN property.

Returns:
possible object is String

setSubscriptionURN

public void setSubscriptionURN(String value)
Sets the value of the subscriptionURN property.

Parameters:
value - allowed object is String

getEventAction

public ActionType getEventAction()
Gets the value of the eventAction property.

Returns:
possible object is ActionType

setEventAction

public void setEventAction(ActionType value)
Sets the value of the eventAction property.

Parameters:
value - allowed object is ActionType

getStructuralEvent

public StructuralEventType getStructuralEvent()
Gets the value of the structuralEvent property.

Returns:
possible object is StructuralEventType

setStructuralEvent

public void setStructuralEvent(StructuralEventType value)
Sets the value of the structuralEvent property.

Parameters:
value - allowed object is StructuralEventType

getRegistrationEvent

public RegistrationEventType getRegistrationEvent()
Gets the value of the registrationEvent property.

Returns:
possible object is RegistrationEventType

setRegistrationEvent

public void setRegistrationEvent(RegistrationEventType value)
Sets the value of the registrationEvent property.

Parameters:
value - allowed object is RegistrationEventType


Copyright © 2012. All Rights Reserved.