org.oasis_open.docs.wsn.b_2
Class Subscribe

java.lang.Object
  extended by org.oasis_open.docs.wsn.b_2.Subscribe

public class Subscribe
extends Object

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ConsumerReference" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/>
         <element name="Filter" type="{http://docs.oasis-open.org/wsn/b-2}FilterType" minOccurs="0"/>
         <element name="InitialTerminationTime" type="{http://docs.oasis-open.org/wsn/b-2}AbsoluteOrRelativeTimeType" minOccurs="0"/>
         <element name="SubscriptionPolicy" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <any/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Subscribe.SubscriptionPolicy
          Java class for anonymous complex type.
 
Field Summary
protected  List<Object> any
           
protected  javax.xml.ws.wsaddressing.W3CEndpointReference consumerReference
           
protected  FilterType filter
           
protected  javax.xml.bind.JAXBElement<String> initialTerminationTime
           
protected  Subscribe.SubscriptionPolicy subscriptionPolicy
           
 
Constructor Summary
Subscribe()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 javax.xml.ws.wsaddressing.W3CEndpointReference getConsumerReference()
          Gets the value of the consumerReference property.
 FilterType getFilter()
          Gets the value of the filter property.
 javax.xml.bind.JAXBElement<String> getInitialTerminationTime()
          Gets the value of the initialTerminationTime property.
 Subscribe.SubscriptionPolicy getSubscriptionPolicy()
          Gets the value of the subscriptionPolicy property.
 void setConsumerReference(javax.xml.ws.wsaddressing.W3CEndpointReference value)
          Sets the value of the consumerReference property.
 void setFilter(FilterType value)
          Sets the value of the filter property.
 void setInitialTerminationTime(javax.xml.bind.JAXBElement<String> value)
          Sets the value of the initialTerminationTime property.
 void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
          Sets the value of the subscriptionPolicy property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

consumerReference

protected javax.xml.ws.wsaddressing.W3CEndpointReference consumerReference

filter

protected FilterType filter

initialTerminationTime

protected javax.xml.bind.JAXBElement<String> initialTerminationTime

subscriptionPolicy

protected Subscribe.SubscriptionPolicy subscriptionPolicy

any

protected List<Object> any
Constructor Detail

Subscribe

public Subscribe()
Method Detail

getConsumerReference

public javax.xml.ws.wsaddressing.W3CEndpointReference getConsumerReference()
Gets the value of the consumerReference property.

Returns:
possible object is W3CEndpointReference

setConsumerReference

public void setConsumerReference(javax.xml.ws.wsaddressing.W3CEndpointReference value)
Sets the value of the consumerReference property.

Parameters:
value - allowed object is W3CEndpointReference

getFilter

public FilterType getFilter()
Gets the value of the filter property.

Returns:
possible object is FilterType

setFilter

public void setFilter(FilterType value)
Sets the value of the filter property.

Parameters:
value - allowed object is FilterType

getInitialTerminationTime

public javax.xml.bind.JAXBElement<String> getInitialTerminationTime()
Gets the value of the initialTerminationTime property.

Returns:
possible object is JAXBElement<String>

setInitialTerminationTime

public void setInitialTerminationTime(javax.xml.bind.JAXBElement<String> value)
Sets the value of the initialTerminationTime property.

Parameters:
value - allowed object is JAXBElement<String>

getSubscriptionPolicy

public Subscribe.SubscriptionPolicy getSubscriptionPolicy()
Gets the value of the subscriptionPolicy property.

Returns:
possible object is Subscribe.SubscriptionPolicy

setSubscriptionPolicy

public void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
Sets the value of the subscriptionPolicy property.

Parameters:
value - allowed object is Subscribe.SubscriptionPolicy

getAny

public List<Object> getAny()
Gets the value of the any 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 any property.

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

    getAny().add(newItem);
 

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



Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.