|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.registry.SubscriptionType
public class SubscriptionType
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 |
|---|
protected OrganisationReferenceType organisation
protected String registryURN
protected List<NotificationURLType> notificationMailTo
protected List<NotificationURLType> notificationHTTP
protected String subscriberAssignedID
protected ValidityPeriodType validityPeriod
protected EventSelectorType eventSelector
| Constructor Detail |
|---|
public SubscriptionType()
| Method Detail |
|---|
public OrganisationReferenceType getOrganisation()
OrganisationReferenceTypepublic void setOrganisation(OrganisationReferenceType value)
value - allowed object is
OrganisationReferenceTypepublic String getRegistryURN()
Stringpublic void setRegistryURN(String value)
value - allowed object is
Stringpublic List<NotificationURLType> getNotificationMailTo()
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
public List<NotificationURLType> getNotificationHTTP()
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
public String getSubscriberAssignedID()
Stringpublic void setSubscriberAssignedID(String value)
value - allowed object is
Stringpublic ValidityPeriodType getValidityPeriod()
ValidityPeriodTypepublic void setValidityPeriod(ValidityPeriodType value)
value - allowed object is
ValidityPeriodTypepublic EventSelectorType getEventSelector()
EventSelectorTypepublic void setEventSelector(EventSelectorType value)
value - allowed object is
EventSelectorType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||