Class AstronTimeType
java.lang.Object
org.javastro.ivoa.entities.stc.v1.AstronTimeType
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2025-08-12T08:31:32+01:00")
public class AstronTimeType
extends Object
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classAstronTimeType.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AstronTimeType.Modifierprotected jakarta.xml.bind.JAXBElement<?>Substitution group for absoluteTimeType component of astronTimeTypeprotected TimeOffsetTypeActual elapsed time offsetprotected TimeScaleType -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorAstronTimeType(TimeScaleType timescale, TimeOffsetType timeOffset, jakarta.xml.bind.JAXBElement<?> absoluteTime) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) static AstronTimeType.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static AstronTimeType.Builder<Void>copyExcept(AstronTimeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> AstronTimeType.Builder<_B>copyOf(AstronTimeType _other) static <_B> AstronTimeType.Builder<_B>copyOf(AstronTimeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static AstronTimeType.Builder<Void>copyOnly(AstronTimeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) <_B> voidcopyTo(AstronTimeType.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(AstronTimeType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) booleanjakarta.xml.bind.JAXBElement<?>Substitution group for absoluteTimeType component of astronTimeTypeActual elapsed time offsetGets the value of the timescale property.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) modifier()<_B> AstronTimeType.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> AstronTimeType.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) voidsetAbsoluteTime(jakarta.xml.bind.JAXBElement<?> value) Sets the value of the absoluteTime property.voidsetTimeOffset(TimeOffsetType value) Sets the value of the timeOffset property.voidsetTimescale(TimeScaleType value) Sets the value of the timescale property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
Field Details
-
timescale
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected TimeScaleType timescale -
timeOffset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected TimeOffsetType timeOffsetActual elapsed time offset -
absoluteTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected jakarta.xml.bind.JAXBElement<?> absoluteTimeSubstitution group for absoluteTimeType component of astronTimeType -
__cachedModifier__
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected transient AstronTimeType.Modifier __cachedModifier__
-
-
Constructor Details
-
AstronTimeType
public AstronTimeType()Default no-arg constructor -
AstronTimeType
public AstronTimeType(TimeScaleType timescale, TimeOffsetType timeOffset, jakarta.xml.bind.JAXBElement<?> absoluteTime) Fully-initialising value constructor
-
-
Method Details
-
getTimescale
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public TimeScaleType getTimescale()Gets the value of the timescale property.- Returns:
- possible object is
TimeScaleType
-
setTimescale
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setTimescale(TimeScaleType value) Sets the value of the timescale property.- Parameters:
value- allowed object isTimeScaleType
-
getTimeOffset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public TimeOffsetType getTimeOffset()Actual elapsed time offset- Returns:
- possible object is
TimeOffsetType
-
setTimeOffset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setTimeOffset(TimeOffsetType value) Sets the value of the timeOffset property.- Parameters:
value- allowed object isTimeOffsetType- See Also:
-
getAbsoluteTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public jakarta.xml.bind.JAXBElement<?> getAbsoluteTime()Substitution group for absoluteTimeType component of astronTimeType- Returns:
- possible object is
JAXBElement<Object>JAXBElement<RelocatableOriginType>JAXBElement<IsoTimeType>JAXBElement<JdTimeType>JAXBElement<JdTimeType>
-
setAbsoluteTime
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setAbsoluteTime(jakarta.xml.bind.JAXBElement<?> value) Sets the value of the absoluteTime property.- Parameters:
value- allowed object isJAXBElement<Object>JAXBElement<RelocatableOriginType>JAXBElement<IsoTimeType>JAXBElement<JdTimeType>JAXBElement<JdTimeType>- See Also:
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(AstronTimeType.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> AstronTimeType.Builder<_B> newCopyBuilder(_B _parentBuilder) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType.Builder<Void> newCopyBuilder() -
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static AstronTimeType.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> AstronTimeType.Builder<_B> copyOf(AstronTimeType _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(AstronTimeType.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> AstronTimeType.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> AstronTimeType.Builder<_B> copyOf(AstronTimeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static AstronTimeType.Builder<Void> copyExcept(AstronTimeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static AstronTimeType.Builder<Void> copyOnly(AstronTimeType _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public AstronTimeType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-