Apache CXF API

org.oasis_open.docs.wsn.b_2
Class SubscribeResponse

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

@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 SubscribeResponse
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="SubscriptionReference" type="{http://www.w3.org/2005/08/addressing}EndpointReferenceType"/>
         <element ref="{http://docs.oasis-open.org/wsn/b-2}CurrentTime" minOccurs="0"/>
         <element ref="{http://docs.oasis-open.org/wsn/b-2}TerminationTime" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  XMLGregorianCalendar currentTime
           
protected  W3CEndpointReference subscriptionReference
           
protected  XMLGregorianCalendar terminationTime
           
 
Constructor Summary
SubscribeResponse()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 XMLGregorianCalendar getCurrentTime()
          Gets the value of the currentTime property.
 W3CEndpointReference getSubscriptionReference()
          Gets the value of the subscriptionReference property.
 XMLGregorianCalendar getTerminationTime()
          Gets the value of the terminationTime property.
 void setCurrentTime(XMLGregorianCalendar value)
          Sets the value of the currentTime property.
 void setSubscriptionReference(W3CEndpointReference value)
          Sets the value of the subscriptionReference property.
 void setTerminationTime(XMLGregorianCalendar value)
          Sets the value of the terminationTime property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subscriptionReference

@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 subscriptionReference

currentTime

@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 XMLGregorianCalendar currentTime

terminationTime

@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 XMLGregorianCalendar terminationTime

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

SubscribeResponse

public SubscribeResponse()
Method Detail

getSubscriptionReference

@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 getSubscriptionReference()
Gets the value of the subscriptionReference property.

Returns:
possible object is W3CEndpointReference

setSubscriptionReference

@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 setSubscriptionReference(W3CEndpointReference value)
Sets the value of the subscriptionReference property.

Parameters:
value - allowed object is W3CEndpointReference

getCurrentTime

@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 XMLGregorianCalendar getCurrentTime()
Gets the value of the currentTime property.

Returns:
possible object is XMLGregorianCalendar

setCurrentTime

@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 setCurrentTime(XMLGregorianCalendar value)
Sets the value of the currentTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getTerminationTime

@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 XMLGregorianCalendar getTerminationTime()
Gets the value of the terminationTime property.

Returns:
possible object is XMLGregorianCalendar

setTerminationTime

@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 setTerminationTime(XMLGregorianCalendar value)
Sets the value of the terminationTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

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