org.sdmx.resources.sdmxml.schemas.v2_0.registry
Class SubscriptionType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_0.registry.SubscriptionType

public class SubscriptionType
extends Object

Subscriptions submit a subscription for a registry or repository object.Action indicates what action is being taken by sending the request. RegistryURN is used to identify the subscription in the case of deletion or modification. NotificationMAilTo holds an e-mail address (the "mailto:" protocol); NotificationHTTP holds an http address to which notifications can be addressed as POSTs. SubscriberAssignedID allows the subscriber to specify an ID which will be returned as part of the notification for the subscribed events. Validity period sets a start and end date for the subscription, EventSelector indicates an event or events for the subscription.

Java class for SubscriptionType complex type.

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

 <complexType name="SubscriptionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Action" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}ActionType"/>
         <element name="RegistryURN" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="NotificationMailTo" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="NotificationHTTP" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="SubscriberAssignedID" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/common}IDType" minOccurs="0"/>
         <element name="ValidityPeriod" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}ValidityPeriodType"/>
         <element name="EventSelector" type="{http://www.SDMX.org/resources/SDMXML/schemas/v2_0/registry}EventSelectorType"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ActionType action
           
protected  EventSelectorType eventSelector
           
protected  String notificationHTTP
           
protected  String notificationMailTo
           
protected  String registryURN
           
protected  String subscriberAssignedID
           
protected  ValidityPeriodType validityPeriod
           
 
Constructor Summary
SubscriptionType()
           
 
Method Summary
 ActionType getAction()
          Gets the value of the action property.
 EventSelectorType getEventSelector()
          Gets the value of the eventSelector property.
 String getNotificationHTTP()
          Gets the value of the notificationHTTP property.
 String getNotificationMailTo()
          Gets the value of the notificationMailTo property.
 String getRegistryURN()
          Gets the value of the registryURN property.
 String getSubscriberAssignedID()
          Gets the value of the subscriberAssignedID property.
 ValidityPeriodType getValidityPeriod()
          Gets the value of the validityPeriod property.
 void setAction(ActionType value)
          Sets the value of the action property.
 void setEventSelector(EventSelectorType value)
          Sets the value of the eventSelector property.
 void setNotificationHTTP(String value)
          Sets the value of the notificationHTTP property.
 void setNotificationMailTo(String value)
          Sets the value of the notificationMailTo property.
 void setRegistryURN(String value)
          Sets the value of the registryURN property.
 void setSubscriberAssignedID(String value)
          Sets the value of the subscriberAssignedID property.
 void setValidityPeriod(ValidityPeriodType value)
          Sets the value of the validityPeriod property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected ActionType action

registryURN

protected String registryURN

notificationMailTo

protected String notificationMailTo

notificationHTTP

protected String notificationHTTP

subscriberAssignedID

protected String subscriberAssignedID

validityPeriod

protected ValidityPeriodType validityPeriod

eventSelector

protected EventSelectorType eventSelector
Constructor Detail

SubscriptionType

public SubscriptionType()
Method Detail

getAction

public ActionType getAction()
Gets the value of the action property.

Returns:
possible object is ActionType

setAction

public void setAction(ActionType value)
Sets the value of the action property.

Parameters:
value - allowed object is ActionType

getRegistryURN

public String getRegistryURN()
Gets the value of the registryURN property.

Returns:
possible object is String

setRegistryURN

public void setRegistryURN(String value)
Sets the value of the registryURN property.

Parameters:
value - allowed object is String

getNotificationMailTo

public String getNotificationMailTo()
Gets the value of the notificationMailTo property.

Returns:
possible object is String

setNotificationMailTo

public void setNotificationMailTo(String value)
Sets the value of the notificationMailTo property.

Parameters:
value - allowed object is String

getNotificationHTTP

public String getNotificationHTTP()
Gets the value of the notificationHTTP property.

Returns:
possible object is String

setNotificationHTTP

public void setNotificationHTTP(String value)
Sets the value of the notificationHTTP property.

Parameters:
value - allowed object is String

getSubscriberAssignedID

public String getSubscriberAssignedID()
Gets the value of the subscriberAssignedID property.

Returns:
possible object is String

setSubscriberAssignedID

public void setSubscriberAssignedID(String value)
Sets the value of the subscriberAssignedID property.

Parameters:
value - allowed object is String

getValidityPeriod

public ValidityPeriodType getValidityPeriod()
Gets the value of the validityPeriod property.

Returns:
possible object is ValidityPeriodType

setValidityPeriod

public void setValidityPeriod(ValidityPeriodType value)
Sets the value of the validityPeriod property.

Parameters:
value - allowed object is ValidityPeriodType

getEventSelector

public EventSelectorType getEventSelector()
Gets the value of the eventSelector property.

Returns:
possible object is EventSelectorType

setEventSelector

public void setEventSelector(EventSelectorType value)
Sets the value of the eventSelector property.

Parameters:
value - allowed object is EventSelectorType


Copyright © 2012. All Rights Reserved.