Class TLcdGML31TimePosition

All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, ILcdFeatured, ILcdSelfDescribedFeatured, Serializable, Cloneable

public class TLcdGML31TimePosition extends TLcdFeaturedDataObject
A temporal position. The method for identifying a temporal position is specific to each temporal reference system. gml:TimePositionType supports the description of temporal position according to the subtypes described in ISO 19108. Values based on calendars and clocks use lexical formats that are based on ISO 8601, as described in XML Schema Part 2:2001. A decimal value may be used with coordinate systems such as GPS time or UNIX time. A URI may be used to provide a reference to some era in an ordinal reference system . In common with many of the components modelled as data types in the ISO 19100 series of International Standards, the corresponding GML component has simple content. However, the content model gml:TimePositionType is defined in several steps. Three XML attributes appear on gml:TimePositionType: A time value shall be associated with a temporal reference system through the frame attribute that provides a URI reference that identifies a description of the reference system. Following ISO 19108, the Gregorian calendar with UTC is the default reference system, but others may also be used. Components for describing temporal reference systems are described in 14.4, but it is not required that the reference system be described in this, as the reference may refer to anything that may be indentified with a URI. For time values using a calendar containing more than one era, the (optional) calendarEraName attribute provides the name of the calendar era. Inexact temporal positions may be expressed using the optional indeterminatePosition attribute. This takes a value from an enumeration.
Since:
10.0
See Also:
  • Field Details

    • VALUE_PROPERTY

      public static final TLcdDataProperty VALUE_PROPERTY
      Data property that maps to the value defined by the simple content. The possible values for this property are instances of
      • XMLGregorianCalendar
      • URI
      • double
    • CALENDAR_ERA_NAME_PROPERTY

      public static final TLcdDataProperty CALENDAR_ERA_NAME_PROPERTY
      Data property that maps to the calendarEraName attribute. The possible values for this property are instances of String.
    • FRAME_PROPERTY

      public static final TLcdDataProperty FRAME_PROPERTY
      Data property that maps to the frame attribute. The possible values for this property are instances of URI.
    • INDETERMINATE_POSITION_PROPERTY

      public static final TLcdDataProperty INDETERMINATE_POSITION_PROPERTY
      Data property that maps to the indeterminatePosition attribute. The possible values for this property are instances of ELcdGML31TimeIndeterminateValue.
  • Constructor Details

    • TLcdGML31TimePosition

      public TLcdGML31TimePosition(TLcdDataType aType)
    • TLcdGML31TimePosition

      public TLcdGML31TimePosition()
      Creates a new time position.
    • TLcdGML31TimePosition

      public TLcdGML31TimePosition(XMLGregorianCalendar aGregorianCalendar)
      Creates a new time position based on the given calendar.
      Parameters:
      aGregorianCalendar - the value object of this time position
      Since:
      2017.0
    • TLcdGML31TimePosition

      public TLcdGML31TimePosition(ELcdGML31TimeIndeterminateValue aTimeIndeterminateValue)
      Creates a new time position based on the given indeterminate value.
      Parameters:
      aTimeIndeterminateValue - the indeterminate value of this time position
      Since:
      2017.0
  • Method Details

    • getValueObject

      public Object getValueObject()
      Returns the value of the property that maps to the value defined by the simple content.

      The possible values for this property are instances of

      • XMLGregorianCalendar
      • URI
      • double
      Returns:
      the value of the VALUE_PROPERTY property.
    • setValueObject

      public void setValueObject(Object aValue)
      Sets the value of the property that maps to the value defined by the simple content.

      The possible values for this property are instances of

      • XMLGregorianCalendar
      • URI
      • double
      Parameters:
      aValue - the value to set for the VALUE_PROPERTY property.
    • getCalendarEraName

      public String getCalendarEraName()
      Returns the value of the property that maps to the calendarEraName attribute.
      Returns:
      the value of the CALENDAR_ERA_NAME_PROPERTY property.
    • setCalendarEraName

      public void setCalendarEraName(String aValue)
      Sets the value of the property that maps to the calendarEraName attribute.
      Parameters:
      aValue - the value to set for the CALENDAR_ERA_NAME_PROPERTY property.
    • getFrame

      public URI getFrame()
      Returns the value of the property that maps to the frame attribute.
      Returns:
      the value of the FRAME_PROPERTY property.
    • setFrame

      public void setFrame(URI aValue)
      Sets the value of the property that maps to the frame attribute.
      Parameters:
      aValue - the value to set for the FRAME_PROPERTY property.
    • getIndeterminatePosition

      public ELcdGML31TimeIndeterminateValue getIndeterminatePosition()
      Returns the value of the property that maps to the indeterminatePosition attribute.
      Returns:
      the value of the INDETERMINATE_POSITION_PROPERTY property.
    • setIndeterminatePosition

      public void setIndeterminatePosition(ELcdGML31TimeIndeterminateValue aValue)
      Sets the value of the property that maps to the indeterminatePosition attribute.
      Parameters:
      aValue - the value to set for the INDETERMINATE_POSITION_PROPERTY property.