Apache CXF API

org.oasis_open.docs.wsn.b_2
Class Subscribe

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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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 processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Subscribe.SubscriptionPolicy
          Java class for anonymous complex type.
 
Field Summary
protected  List<Object> any
           
protected  W3CEndpointReference consumerReference
           
protected  FilterType filter
           
protected  JAXBElement<String> initialTerminationTime
           
protected  Subscribe.SubscriptionPolicy subscriptionPolicy
           
 
Constructor Summary
Subscribe()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 W3CEndpointReference getConsumerReference()
          Gets the value of the consumerReference property.
 FilterType getFilter()
          Gets the value of the filter property.
 JAXBElement<String> getInitialTerminationTime()
          Gets the value of the initialTerminationTime property.
 Subscribe.SubscriptionPolicy getSubscriptionPolicy()
          Gets the value of the subscriptionPolicy property.
 void setConsumerReference(W3CEndpointReference value)
          Sets the value of the consumerReference property.
 void setFilter(FilterType value)
          Sets the value of the filter property.
 void setInitialTerminationTime(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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected W3CEndpointReference consumerReference

filter

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected FilterType filter

initialTerminationTime

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected JAXBElement<String> initialTerminationTime

subscriptionPolicy

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected Subscribe.SubscriptionPolicy subscriptionPolicy

any

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<Object> any
Constructor Detail

Subscribe

public Subscribe()
Method Detail

getConsumerReference

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public W3CEndpointReference getConsumerReference()
Gets the value of the consumerReference property.

Returns:
possible object is W3CEndpointReference

setConsumerReference

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setConsumerReference(W3CEndpointReference value)
Sets the value of the consumerReference property.

Parameters:
value - allowed object is W3CEndpointReference

getFilter

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public FilterType getFilter()
Gets the value of the filter property.

Returns:
possible object is FilterType

setFilter

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setFilter(FilterType value)
Sets the value of the filter property.

Parameters:
value - allowed object is FilterType

getInitialTerminationTime

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public JAXBElement<String> getInitialTerminationTime()
Gets the value of the initialTerminationTime property.

Returns:
possible object is JAXBElement<String>

setInitialTerminationTime

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setInitialTerminationTime(JAXBElement<String> value)
Sets the value of the initialTerminationTime property.

Parameters:
value - allowed object is JAXBElement<String>

getSubscriptionPolicy

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Subscribe.SubscriptionPolicy getSubscriptionPolicy()
Gets the value of the subscriptionPolicy property.

Returns:
possible object is Subscribe.SubscriptionPolicy

setSubscriptionPolicy

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public void setSubscriptionPolicy(Subscribe.SubscriptionPolicy value)
Sets the value of the subscriptionPolicy property.

Parameters:
value - allowed object is Subscribe.SubscriptionPolicy

getAny

@Generated(value="com.sun.tools.xjc.Driver",
           date="2014-05-14T03:41:34-04:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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


Apache CXF API

Apache CXF