org.oasis_open.docs.wsn.b_2
Class RenewResponse

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

public class RenewResponse
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 ref="{http://docs.oasis-open.org/wsn/b-2}TerminationTime"/>
         <element ref="{http://docs.oasis-open.org/wsn/b-2}CurrentTime" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> any
           
protected  XMLGregorianCalendar currentTime
           
protected  XMLGregorianCalendar terminationTime
           
 
Constructor Summary
RenewResponse()
           
 
Method Summary
 List<Object> getAny()
          Gets the value of the any property.
 XMLGregorianCalendar getCurrentTime()
          Gets the value of the currentTime property.
 XMLGregorianCalendar getTerminationTime()
          Gets the value of the terminationTime property.
 void setCurrentTime(XMLGregorianCalendar value)
          Sets the value of the currentTime 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

terminationTime

protected XMLGregorianCalendar terminationTime

currentTime

protected XMLGregorianCalendar currentTime

any

protected List<Object> any
Constructor Detail

RenewResponse

public RenewResponse()
Method Detail

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

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

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-2008 The Apache Software Foundation. All Rights Reserved.