Package org.omg.space.xtce
Class ReferenceTimeType
- java.lang.Object
-
- org.omg.space.xtce.ReferenceTimeType
-
public class ReferenceTimeType extends Object
Most time values are relative to another time e.g. seconds are relative to minutes, minutes are relative to hours. This type is used to describe this relationship starting with the least significant time Parameter to and progressing to the most significant time parameter.Java class for ReferenceTimeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ReferenceTimeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="OffsetFrom" type="{http://www.omg.org/space/xtce}ParameterInstanceRefType"/> <element name="Epoch"> <complexType> <simpleContent> <extension base="<http://www.omg.org/space/xtce>EpochType"> <attribute name="timeOfDay" type="{http://www.w3.org/2001/XMLSchema}time" /> </extension> </simpleContent> </complexType> </element> </choice> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReferenceTimeType.EpochJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ReferenceTimeType.Epochepochprotected ParameterInstanceRefTypeoffsetFrom
-
Constructor Summary
Constructors Constructor Description ReferenceTimeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceTimeType.EpochgetEpoch()Gets the value of the epoch property.ParameterInstanceRefTypegetOffsetFrom()Gets the value of the offsetFrom property.voidsetEpoch(ReferenceTimeType.Epoch value)Sets the value of the epoch property.voidsetOffsetFrom(ParameterInstanceRefType value)Sets the value of the offsetFrom property.
-
-
-
Field Detail
-
offsetFrom
protected ParameterInstanceRefType offsetFrom
-
epoch
protected ReferenceTimeType.Epoch epoch
-
-
Method Detail
-
getOffsetFrom
public ParameterInstanceRefType getOffsetFrom()
Gets the value of the offsetFrom property.- Returns:
- possible object is
ParameterInstanceRefType
-
setOffsetFrom
public void setOffsetFrom(ParameterInstanceRefType value)
Sets the value of the offsetFrom property.- Parameters:
value- allowed object isParameterInstanceRefType
-
getEpoch
public ReferenceTimeType.Epoch getEpoch()
Gets the value of the epoch property.- Returns:
- possible object is
ReferenceTimeType.Epoch
-
setEpoch
public void setEpoch(ReferenceTimeType.Epoch value)
Sets the value of the epoch property.- Parameters:
value- allowed object isReferenceTimeType.Epoch
-
-