net.ivoa.xml.stc.stc_v1_30
Class AstronTimeType

java.lang.Object
  extended by net.ivoa.xml.stc.stc_v1_30.AstronTimeType

public class AstronTimeType
extends java.lang.Object

astronTime is the generalized astronomical time type and consists of one, two, or three elements: optional TimeScale, optional relative time offset, and an absolute time (ISO8601 or a decimal JD or MJD; or it may be an IDREF to one of those three); TimeScale may be omitted only if the element is part of AstroCoords, referring to an AstroCoordSystem that specifies a TimeScale.

Java class for astronTimeType complex type.

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

 <complexType name="astronTimeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Timescale" type="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}timeScaleType" minOccurs="0"/>
         <element ref="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}TimeOffset" minOccurs="0"/>
         <element ref="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}AbsoluteTime"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  javax.xml.bind.JAXBElement<?> absoluteTime
           
protected  TimeOffsetType timeOffset
           
protected  javax.xml.bind.JAXBElement<TimeScaleType> timescale
           
 
Constructor Summary
AstronTimeType()
           
 
Method Summary
 javax.xml.bind.JAXBElement<?> getAbsoluteTime()
          Gets the value of the absoluteTime property.
 TimeOffsetType getTimeOffset()
          Gets the value of the timeOffset property.
 javax.xml.bind.JAXBElement<TimeScaleType> getTimescale()
          Gets the value of the timescale property.
 void setAbsoluteTime(javax.xml.bind.JAXBElement<?> value)
          Sets the value of the absoluteTime property.
 void setTimeOffset(TimeOffsetType value)
          Sets the value of the timeOffset property.
 void setTimescale(javax.xml.bind.JAXBElement<TimeScaleType> value)
          Sets the value of the timescale property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timescale

protected javax.xml.bind.JAXBElement<TimeScaleType> timescale

timeOffset

protected TimeOffsetType timeOffset

absoluteTime

protected javax.xml.bind.JAXBElement<?> absoluteTime
Constructor Detail

AstronTimeType

public AstronTimeType()
Method Detail

getTimescale

public javax.xml.bind.JAXBElement<TimeScaleType> getTimescale()
Gets the value of the timescale property.

Returns:
possible object is JAXBElement<TimeScaleType>

setTimescale

public void setTimescale(javax.xml.bind.JAXBElement<TimeScaleType> value)
Sets the value of the timescale property.

Parameters:
value - allowed object is JAXBElement<TimeScaleType>

getTimeOffset

public TimeOffsetType getTimeOffset()
Gets the value of the timeOffset property.

Returns:
possible object is TimeOffsetType

setTimeOffset

public void setTimeOffset(TimeOffsetType value)
Sets the value of the timeOffset property.

Parameters:
value - allowed object is TimeOffsetType

getAbsoluteTime

public javax.xml.bind.JAXBElement<?> getAbsoluteTime()
Gets the value of the absoluteTime property.

Returns:
possible object is JAXBElement<IsoTimeType> JAXBElement<JdTimeType> JAXBElement<RelocatableOriginType> JAXBElement<Object> JAXBElement<JdTimeType>

setAbsoluteTime

public void setAbsoluteTime(javax.xml.bind.JAXBElement<?> value)
Sets the value of the absoluteTime property.

Parameters:
value - allowed object is JAXBElement<IsoTimeType> JAXBElement<JdTimeType> JAXBElement<RelocatableOriginType> JAXBElement<Object> JAXBElement<JdTimeType>


Copyright © 2011 VAMDC. All Rights Reserved.