Class Duration

java.lang.Object
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 Details

  • Constructor Details

    • Duration

      public Duration()
  • Method Details

    • 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
    • getValue

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