org.apache.type_test.xml
Class TestDuration

java.lang.Object
  extended by org.apache.type_test.xml.TestDuration

public class TestDuration
extends java.lang.Object

Java class for testDuration element declaration.

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

 <element name="testDuration">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence>
           <element name="x" type="{http://www.w3.org/2001/XMLSchema}duration"/>
           <element name="y" type="{http://www.w3.org/2001/XMLSchema}duration"/>
         </sequence>
       </restriction>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  javax.xml.datatype.Duration x
           
protected  javax.xml.datatype.Duration y
           
 
Constructor Summary
TestDuration()
           
 
Method Summary
 javax.xml.datatype.Duration getX()
          Gets the value of the x property.
 javax.xml.datatype.Duration getY()
          Gets the value of the y property.
 void setX(javax.xml.datatype.Duration value)
          Sets the value of the x property.
 void setY(javax.xml.datatype.Duration value)
          Sets the value of the y property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected javax.xml.datatype.Duration x

y

protected javax.xml.datatype.Duration y
Constructor Detail

TestDuration

public TestDuration()
Method Detail

getX

public javax.xml.datatype.Duration getX()
Gets the value of the x property.

Returns:
possible object is Duration

setX

public void setX(javax.xml.datatype.Duration value)
Sets the value of the x property.

Parameters:
value - allowed object is Duration

getY

public javax.xml.datatype.Duration getY()
Gets the value of the y property.

Returns:
possible object is Duration

setY

public void setY(javax.xml.datatype.Duration value)
Sets the value of the y property.

Parameters:
value - allowed object is Duration


Apache CXF