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

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

public class SubscriptionType
extends Object

SubscriptionType describes the details of a subscription to a registration or change event for registry resources. When it occurs as the content of a response message, the registry URN must be provide, unless the response is a failure notification for the creation of a new 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="Organisation" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}OrganisationReferenceType"/>
         <element name="RegistryURN" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="NotificationMailTo" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}NotificationURLType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="NotificationHTTP" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}NotificationURLType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="SubscriberAssignedID" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}IDType" minOccurs="0"/>
         <element name="ValidityPeriod" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}ValidityPeriodType"/>
         <element name="EventSelector" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}EventSelectorType"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EventSelectorType eventSelector
           
protected  List<NotificationURLType> notificationHTTP
           
protected  List<NotificationURLType> notificationMailTo
           
protected  OrganisationReferenceType organisation
           
protected  String registryURN
           
protected  String subscriberAssignedID
           
protected  ValidityPeriodType validityPeriod
           
 
Constructor Summary
SubscriptionType()
           
 
Method Summary
 EventSelectorType getEventSelector()
          Gets the value of the eventSelector property.
 List<NotificationURLType> getNotificationHTTP()
          Gets the value of the notificationHTTP property.
 List<NotificationURLType> getNotificationMailTo()
          Gets the value of the notificationMailTo property.
 OrganisationReferenceType getOrganisation()
          Gets the value of the organisation 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 setEventSelector(EventSelectorType value)
          Sets the value of the eventSelector property.
 void setOrganisation(OrganisationReferenceType value)
          Sets the value of the organisation 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

organisation

protected OrganisationReferenceType organisation

registryURN

protected String registryURN

notificationMailTo

protected List<NotificationURLType> notificationMailTo

notificationHTTP

protected List<NotificationURLType> notificationHTTP

subscriberAssignedID

protected String subscriberAssignedID

validityPeriod

protected ValidityPeriodType validityPeriod

eventSelector

protected EventSelectorType eventSelector
Constructor Detail

SubscriptionType

public SubscriptionType()
Method Detail

getOrganisation

public OrganisationReferenceType getOrganisation()
Gets the value of the organisation property.

Returns:
possible object is OrganisationReferenceType

setOrganisation

public void setOrganisation(OrganisationReferenceType value)
Sets the value of the organisation property.

Parameters:
value - allowed object is OrganisationReferenceType

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 List<NotificationURLType> getNotificationMailTo()
Gets the value of the notificationMailTo 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 notificationMailTo property.

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

    getNotificationMailTo().add(newItem);
 

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


getNotificationHTTP

public List<NotificationURLType> getNotificationHTTP()
Gets the value of the notificationHTTP 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 notificationHTTP property.

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

    getNotificationHTTP().add(newItem);
 

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


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.