|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_0.registry.SubscriptionType
public class SubscriptionType
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 |
|---|
protected ActionType action
protected String registryURN
protected String notificationMailTo
protected String notificationHTTP
protected String subscriberAssignedID
protected ValidityPeriodType validityPeriod
protected EventSelectorType eventSelector
| Constructor Detail |
|---|
public SubscriptionType()
| Method Detail |
|---|
public ActionType getAction()
ActionTypepublic void setAction(ActionType value)
value - allowed object is
ActionTypepublic String getRegistryURN()
Stringpublic void setRegistryURN(String value)
value - allowed object is
Stringpublic String getNotificationMailTo()
Stringpublic void setNotificationMailTo(String value)
value - allowed object is
Stringpublic String getNotificationHTTP()
Stringpublic void setNotificationHTTP(String value)
value - allowed object is
Stringpublic 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 | |||||||||