org.spase.parser110
Class TimeSpan

java.lang.Object
  extended by org.spase.parser110.TimeSpan

public class TimeSpan
extends java.lang.Object

The duration of an interval in time.

Java class for TimeSpan complex type.

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

 <complexType name="TimeSpan">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.spase-group.org/data/schema}StartDate"/>
         <element ref="{http://www.spase-group.org/data/schema}EndDate" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}RelativeEndDate" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  javax.xml.datatype.XMLGregorianCalendar endDate
           
protected  javax.xml.datatype.Duration relativeEndDate
           
protected  javax.xml.datatype.XMLGregorianCalendar startDate
           
 
Constructor Summary
TimeSpan()
           
 
Method Summary
 javax.xml.datatype.XMLGregorianCalendar getEndDate()
          Gets the value of the endDate property.
 javax.xml.datatype.Duration getRelativeEndDate()
          Gets the value of the relativeEndDate property.
 javax.xml.datatype.XMLGregorianCalendar getStartDate()
          Gets the value of the startDate property.
 void setEndDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the endDate property.
 void setRelativeEndDate(javax.xml.datatype.Duration value)
          Sets the value of the relativeEndDate property.
 void setStartDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the startDate property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startDate

protected javax.xml.datatype.XMLGregorianCalendar startDate

endDate

protected javax.xml.datatype.XMLGregorianCalendar endDate

relativeEndDate

protected javax.xml.datatype.Duration relativeEndDate
Constructor Detail

TimeSpan

public TimeSpan()
Method Detail

getStartDate

public javax.xml.datatype.XMLGregorianCalendar getStartDate()
Gets the value of the startDate property.

Returns:
possible object is XMLGregorianCalendar

setStartDate

public void setStartDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the startDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getEndDate

public javax.xml.datatype.XMLGregorianCalendar getEndDate()
Gets the value of the endDate property.

Returns:
possible object is XMLGregorianCalendar

setEndDate

public void setEndDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the endDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getRelativeEndDate

public javax.xml.datatype.Duration getRelativeEndDate()
Gets the value of the relativeEndDate property.

Returns:
possible object is Duration

setRelativeEndDate

public void setRelativeEndDate(javax.xml.datatype.Duration value)
Sets the value of the relativeEndDate property.

Parameters:
value - allowed object is Duration