org.oasis_open.docs.wsn.b_2
Class SubscribeResponse

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

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/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  XMLGregorianCalendar currentTime
           
protected  javax.xml.ws.wsaddressing.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.
 javax.xml.ws.wsaddressing.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(javax.xml.ws.wsaddressing.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

protected javax.xml.ws.wsaddressing.W3CEndpointReference subscriptionReference

currentTime

protected XMLGregorianCalendar currentTime

terminationTime

protected XMLGregorianCalendar terminationTime

any

protected List<Object> any
Constructor Detail

SubscribeResponse

public SubscribeResponse()
Method Detail

getSubscriptionReference

public javax.xml.ws.wsaddressing.W3CEndpointReference getSubscriptionReference()
Gets the value of the subscriptionReference property.

Returns:
possible object is W3CEndpointReference

setSubscriptionReference

public void setSubscriptionReference(javax.xml.ws.wsaddressing.W3CEndpointReference value)
Sets the value of the subscriptionReference property.

Parameters:
value - allowed object is W3CEndpointReference

getCurrentTime

public XMLGregorianCalendar getCurrentTime()
Gets the value of the currentTime property.

Returns:
possible object is XMLGregorianCalendar

setCurrentTime

public void setCurrentTime(XMLGregorianCalendar value)
Sets the value of the currentTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getTerminationTime

public XMLGregorianCalendar getTerminationTime()
Gets the value of the terminationTime property.

Returns:
possible object is XMLGregorianCalendar

setTerminationTime

public void setTerminationTime(XMLGregorianCalendar value)
Sets the value of the terminationTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

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 Object Element



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