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

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

public class SubscriptionRequestType
extends Object

SubscriptionRequestType describes the structure of a single subscription request. It contains subscription details and an action field to indicate the action to be taken on the contained subscription. Note that if the action is update or delete, then the registry supplied URN for the subscription must be included.

Java class for SubscriptionRequestType complex type.

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

 <complexType name="SubscriptionRequestType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Subscription" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/registry}SubscriptionType"/>
       </sequence>
       <attribute name="action" use="required" type="{http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common}ActionType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ActionType action
           
protected  SubscriptionType subscription
           
 
Constructor Summary
SubscriptionRequestType()
           
 
Method Summary
 ActionType getAction()
          Gets the value of the action property.
 SubscriptionType getSubscription()
          Gets the value of the subscription property.
 void setAction(ActionType value)
          Sets the value of the action property.
 void setSubscription(SubscriptionType value)
          Sets the value of the subscription property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subscription

protected SubscriptionType subscription

action

protected ActionType action
Constructor Detail

SubscriptionRequestType

public SubscriptionRequestType()
Method Detail

getSubscription

public SubscriptionType getSubscription()
Gets the value of the subscription property.

Returns:
possible object is SubscriptionType

setSubscription

public void setSubscription(SubscriptionType value)
Sets the value of the subscription property.

Parameters:
value - allowed object is SubscriptionType

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


Copyright © 2012. All Rights Reserved.