Apache CXF API

org.apache.cxf.ws.eventing
Class Duration

java.lang.Object
  extended by org.apache.cxf.ws.eventing.Duration

public class Duration
extends Object

Java class for Duration complex type.

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

 <complexType name="Duration">
   <simpleContent>
     <extension base="<http://www.w3.org/2011/03/ws-evt>NonNegativeDurationType">
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  Duration value
           
 
Constructor Summary
Duration()
           
 
Method Summary
 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 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

Duration

public Duration()
Method Detail

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

Apache CXF API

Apache CXF