com.sun.xml.ws.rx.rm.protocol.wsrm200702
Class Expires

java.lang.Object
  extended by com.sun.xml.ws.rx.rm.protocol.wsrm200702.Expires

public class Expires
extends Object

Java class for anonymous complex type.

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

 <complexType>
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>duration">
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  Duration value
           
 
Constructor Summary
Expires()
           
Expires(Duration value)
           
Expires(long duration)
           
 
Method Summary
 long getDuration()
           
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 Duration getValue()
          Gets the value of the value property.
 void setDuration(long value)
           
 void setValue(Duration value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected Duration value
Constructor Detail

Expires

public Expires()

Expires

public Expires(Duration value)

Expires

public Expires(long duration)
Method Detail

getDuration

public long getDuration()

setDuration

public void setDuration(long value)

getValue

public Duration getValue()
Gets the value of the value property.

Returns:
possible object is Duration

setValue

public void setValue(Duration value)
Sets the value of the value property.

Parameters:
value - allowed object is Duration

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.