Class TLcdAIXM51AbstractAIXMTimeSlice

All Implemented Interfaces:
ILcdDataObject, ILcdBounded, ILcdShape, ILcdShapeList, ILcdTimeBounded, ILcdCloneable, ILcdDeepCloneable, ILcdInvalidateable, Serializable, Cloneable
Direct Known Subclasses:
TLcdAIXM51AbstractAirportHeliportProtectionAreaTimeSlice, TLcdAIXM51AbstractGroundLightSystemTimeSlice, TLcdAIXM51AbstractMarkingTimeSlice, TLcdAIXM51AbstractNavaidEquipmentTimeSlice, TLcdAIXM51AbstractNavigationSystemCheckpointTimeSlice, TLcdAIXM51AbstractProcedureTimeSlice, TLcdAIXM51AbstractRadarEquipmentTimeSlice, TLcdAIXM51AbstractSegmentLegTimeSlice, TLcdAIXM51AbstractServiceTimeSlice, TLcdAIXM51AerialRefuellingTimeSlice, TLcdAIXM51AeronauticalGroundLightTimeSlice, TLcdAIXM51AircraftStandTimeSlice, TLcdAIXM51AirportHeliportCollocationTimeSlice, TLcdAIXM51AirportHeliportTimeSlice, TLcdAIXM51AirportHotSpotTimeSlice, TLcdAIXM51AirspaceBorderCrossingTimeSlice, TLcdAIXM51AirspaceTimeSlice, TLcdAIXM51AltimeterSourceTimeSlice, TLcdAIXM51AngleIndicationTimeSlice, TLcdAIXM51ApronElementTimeSlice, TLcdAIXM51ApronTimeSlice, TLcdAIXM51ArrestingGearTimeSlice, TLcdAIXM51AuthorityForAirspaceTimeSlice, TLcdAIXM51ChangeOverPointTimeSlice, TLcdAIXM51CirclingAreaTimeSlice, TLcdAIXM51DeicingAreaTimeSlice, TLcdAIXM51DesignatedPointTimeSlice, TLcdAIXM51DistanceIndicationTimeSlice, TLcdAIXM51FlightRestrictionTimeSlice, TLcdAIXM51FloatingDockSiteTimeSlice, TLcdAIXM51GeoBorderTimeSlice, TLcdAIXM51GuidanceLineTimeSlice, TLcdAIXM51HoldingAssessmentTimeSlice, TLcdAIXM51HoldingPatternTimeSlice, TLcdAIXM51MarkingBuoyTimeSlice, TLcdAIXM51NavaidTimeSlice, TLcdAIXM51NavigationAreaRestrictionTimeSlice, TLcdAIXM51NavigationAreaTimeSlice, TLcdAIXM51NonMovementAreaTimeSlice, TLcdAIXM51ObstacleAreaTimeSlice, TLcdAIXM51OrganisationAuthorityTimeSlice, TLcdAIXM51PassengerLoadingBridgeTimeSlice, TLcdAIXM51PilotControlledLightingTimeSlice, TLcdAIXM51ProcedureDMETimeSlice, TLcdAIXM51RadarSystemTimeSlice, TLcdAIXM51RadioCommunicationChannelTimeSlice, TLcdAIXM51RadioFrequencyAreaTimeSlice, TLcdAIXM51RoadTimeSlice, TLcdAIXM51RouteDMETimeSlice, TLcdAIXM51RouteSegmentTimeSlice, TLcdAIXM51RouteTimeSlice, TLcdAIXM51RulesProceduresTimeSlice, TLcdAIXM51RunwayBlastPadTimeSlice, TLcdAIXM51RunwayCentrelinePointTimeSlice, TLcdAIXM51RunwayDirectionTimeSlice, TLcdAIXM51RunwayElementTimeSlice, TLcdAIXM51RunwayTimeSlice, TLcdAIXM51RunwayVisualRangeTimeSlice, TLcdAIXM51SafeAltitudeAreaTimeSlice, TLcdAIXM51SeaplaneLandingAreaTimeSlice, TLcdAIXM51SeaplaneRampSiteTimeSlice, TLcdAIXM51SignificantPointInAirspaceTimeSlice, TLcdAIXM51SpecialDateTimeSlice, TLcdAIXM51SpecialNavigationStationTimeSlice, TLcdAIXM51SpecialNavigationSystemTimeSlice, TLcdAIXM51StandardLevelColumnTimeSlice, TLcdAIXM51StandardLevelSectorTimeSlice, TLcdAIXM51StandardLevelTableTimeSlice, TLcdAIXM51SurveyControlPointTimeSlice, TLcdAIXM51TaxiHoldingPositionTimeSlice, TLcdAIXM51TaxiwayElementTimeSlice, TLcdAIXM51TaxiwayTimeSlice, TLcdAIXM51TerminalArrivalAreaTimeSlice, TLcdAIXM51TouchDownLiftOffTimeSlice, TLcdAIXM51UnitTimeSlice, TLcdAIXM51UnplannedHoldingTimeSlice, TLcdAIXM51VerticalStructureTimeSlice, TLcdAIXM51WorkAreaTimeSlice

public class TLcdAIXM51AbstractAIXMTimeSlice extends TLcdAIXM51AbstractAIXMTimeSliceBase implements ILcdShapeList, ILcdTimeBounded, ILcdInvalidateable
Represents an AIXM 5.1 timeslice. This class corresponds to the AbstractAIXMTimeSliceType schema type in the AIXM 5.1 XML Schema.

A timeslice describes the state of an AIXM 5.1 feature during a certain time period.

Since:
10.0
See Also:
  • Field Details

    • INTERPRETATION_PROPERTY

      public static final TLcdDataProperty INTERPRETATION_PROPERTY
      Data property that maps to the interpretation element. The possible values for this property are instances of ELcdAIXM51Interpretation.
    • SEQUENCE_NUMBER_PROPERTY

      public static final TLcdDataProperty SEQUENCE_NUMBER_PROPERTY
      Data property that maps to the sequenceNumber element. The possible values for this property are instances of long.
    • CORRECTION_NUMBER_PROPERTY

      public static final TLcdDataProperty CORRECTION_NUMBER_PROPERTY
      Data property that maps to the correctionNumber element. The possible values for this property are instances of long.
    • TIME_SLICE_METADATA_PROPERTY

      public static final TLcdDataProperty TIME_SLICE_METADATA_PROPERTY
      Data property that maps to the timeSliceMetadata element. The possible values for this property are instances of TLcdAIXM51FeatureTimeSliceMetadataProperty.
    • FEATURE_LIFETIME_PROPERTY

      public static final TLcdDataProperty FEATURE_LIFETIME_PROPERTY
      Data property that maps to the featureLifetime element. The possible values for this property are instances of TLcdGML32TimePrimitiveProperty.
  • Constructor Details

    • TLcdAIXM51AbstractAIXMTimeSlice

      public TLcdAIXM51AbstractAIXMTimeSlice(TLcdDataType aType)
      Constructs a new TLcdAIXM51AbstractAIXMTimeSlice for the given type. The type must be a subtype of AIXM51AbstractAIXMTimeSliceType.
      Parameters:
      aType - the time slice type for which to create a new instance
  • Method Details

    • collectShapes

      protected List<? extends ILcdShape> collectShapes()
      Override this method to collect all shapes that needs to be included in the ILcdShapeList implementation of this feature. The default implementation implements the GML Simple Features Profile: it collects all direct children of this feature which implements ILcdShape.
      Returns:
      returns a List containing all ILcdShape elements needed to represent the geometry of this timeslice
    • invalidateObject

      public void invalidateObject()
      Notifies this object that something in its structure has been changed. This method needs to be called whenever a subproperty of this object (a property that is not directly referenced by this object) has been modified. It allows this object to invalidate and recompute all its caches which are computed based on its properties.
      Specified by:
      invalidateObject in interface ILcdInvalidateable
    • setValue

      public void setValue(TLcdDataProperty aProperty, Object aValue)
      Description copied from interface: ILcdDataObject

      Sets the value of the given property for this data object. The implementation is allowed to throw an exception if the given value can't be set.

      The given property must be declared in the data object's type or in one of its super types. In other words, getDataType().getProperties().contains( aProperty ) should always be true. Otherwise, the implementation should throw an IllegalArgumentException.

      Specified by:
      setValue in interface ILcdDataObject
      Overrides:
      setValue in class TLcdDataObject
      Parameters:
      aProperty - the property for which the value is to be set
      aValue - the value to set
      See Also:
    • getBeginValidTime

      public XMLGregorianCalendar getBeginValidTime()
      Returns the begin of the valid time of this timeslice. In case the valid time is a time instant, the begin and end time will be the same. In case the time information of this timeslice is not defined as a standard gregorian calendar, or is not set, null will be returned.
      Returns:
      A valid XMLGregorianCalendar, or null.
      See Also:
    • getEndValidTime

      public XMLGregorianCalendar getEndValidTime()
      Returns the end of the valid time of this timeslice. In case the valid time is a time instant, the begin and end time will be the same. In case the time information of this timeslice is not defined as a standard gregorian calendar, or is not set, null will be returned.
      Returns:
      A valid XMLGregorianCalendar, or null.
      See Also:
    • getShapeCount

      public int getShapeCount()
      Description copied from interface: ILcdShapeList
      Returns the number of ILcdShape objects in the list.
      Specified by:
      getShapeCount in interface ILcdShapeList
      Returns:
      the number of ILcdShape objects in the list.
    • getShape

      public ILcdShape getShape(int aIndex) throws IndexOutOfBoundsException
      Description copied from interface: ILcdShapeList
      Returns the ILcdShape at the given index.
      Specified by:
      getShape in interface ILcdShapeList
      Parameters:
      aIndex - a valid index in the list of ILcdShape objects.
      Returns:
      the ILcdShape at the given index.
      Throws:
      IndexOutOfBoundsException - when the index is not valid.
    • contains2D

      public boolean contains2D(ILcdPoint aPoint)
      Description copied from interface: ILcdShape
      Checks whether this ILcdShape contains the given ILcdPoint in the 2D space. Only the first two dimensions of the ILcdShape and the ILcdPoint are considered.
      Specified by:
      contains2D in interface ILcdShape
      Parameters:
      aPoint - the ILcdPoint to test.
      Returns:
      the boolean result of the containment test.
      See Also:
    • contains3D

      public boolean contains3D(ILcdPoint aPoint)
      Description copied from interface: ILcdShape
      Checks whether this ILcdShape contains the given ILcdPoint in the 3D space.
      Specified by:
      contains3D in interface ILcdShape
      Parameters:
      aPoint - the ILcdPoint to test.
      Returns:
      the boolean result of the containment test.
      See Also:
    • contains3D

      public boolean contains3D(double aX, double aY, double aZ)
      Description copied from interface: ILcdShape
      Checks whether this ILcdShape contains the given point in the 3D space.
      Specified by:
      contains3D in interface ILcdShape
      Parameters:
      aX - the x coordinate of the point.
      aY - the y coordinate of the point.
      aZ - the z coordinate of the point.
      Returns:
      the boolean result of the containment test.
    • contains2D

      public boolean contains2D(double aX, double aY)
      Description copied from interface: ILcdShape
      Checks whether this ILcdShape contains the given point in the 2D space. Only the first two dimensions of the ILcdShape are considered.
      Specified by:
      contains2D in interface ILcdShape
      Parameters:
      aX - the x coordinate of the point.
      aY - the y coordinate of the point.
      Returns:
      the boolean result of the containment test.
    • getFocusPoint

      public ILcdPoint getFocusPoint()
      Description copied from interface: ILcdShape
      Returns the focus point of this ILcdShape.
      Specified by:
      getFocusPoint in interface ILcdShape
      Returns:
      the focus point of this ILcdShape.
    • clone

      Description copied from class: TLcdDataObject
      Returns a deep clone of this object. This method delegates to TLcdDataObject.clone(Map).
      Specified by:
      clone in interface ILcdCloneable
      Overrides:
      clone in class TLcdDataObject
      Returns:
      a deep clone of this object
      See Also:
    • clone

      public TLcdDataObject clone(Map aObjectDictionary)
      Description copied from class: TLcdDataObject
      Returns a deep clone of this object. If the clone is not already present in the dictionary, a new instance if created as follows:
      • First, a new instance is created using Java's clone() mechanism.
      • Then, all properties of this object are cloned and set on the newly created instance. A property is cloned as follows:
        • If the property value is an ILcdDataObject, the value is cloned by first creating a new instance via the value.getDataType().newInstance() method, and then cloning its properties one by one.
        • If the value implements ILcdDeepCloneable or ILcdCloneable then this interface is used to clone the value.
        • Otherwise, the property value is copied by reference.
      Specified by:
      clone in interface ILcdDeepCloneable
      Overrides:
      clone in class TLcdDataObject
      Parameters:
      aObjectDictionary - the Object dictionary that keeps track of the objects for which a clone has already been made, and their corresponding clone Object.
      Returns:
      a deep clone of this object
    • getBounds

      public ILcdBounds getBounds()
      Description copied from interface: ILcdBounded
      Returns the ILcdBounds by which the geometry of this ILcdBounded object is bounded.

      If the geometry does not allow retrieving valid bounds (for example a polyline with 0 points) the return value is unspecified. It is highly recommended to return an undefined bounds. You can create undefined bounds using the default constructors of TLcdLonLatBounds or TLcdXYBounds.

      Specified by:
      getBounds in interface ILcdBounded
      Returns:
      the ILcdBounds by which the geometry of this ILcdBounded object is bounded.
    • getTimeBounds

      public ILcdTimeBounds getTimeBounds()
      Description copied from interface: ILcdTimeBounded
      Returns the ILcdTimeBounds by which this object is bounded.
      Specified by:
      getTimeBounds in interface ILcdTimeBounded
      Returns:
      the ILcdTimeBounds by which this object is bounded.
    • getInterpretation

      public ELcdAIXM51Interpretation getInterpretation()
      Returns the value of the property that maps to the interpretation element.

      Property indicating how the timeslice is to be interpreted. See the AIXM Temporality model for details.

      Returns:
      the value of the INTERPRETATION_PROPERTY property.
    • setInterpretation

      public void setInterpretation(ELcdAIXM51Interpretation aValue)
      Sets the value of the property that maps to the interpretation element.

      Property indicating how the timeslice is to be interpreted. See the AIXM Temporality model for details.

      Parameters:
      aValue - the value to set for the INTERPRETATION_PROPERTY property.
    • getSequenceNumber

      public long getSequenceNumber()
      Returns the value of the property that maps to the sequenceNumber element.

      Used for the identification of the Time Slice concerned. See the AIXM Temporality model for details.

      Returns:
      the value of the SEQUENCE_NUMBER_PROPERTY property.
    • setSequenceNumber

      public void setSequenceNumber(long aValue)
      Sets the value of the property that maps to the sequenceNumber element.

      Used for the identification of the Time Slice concerned. See the AIXM Temporality model for details.

      Parameters:
      aValue - the value to set for the SEQUENCE_NUMBER_PROPERTY property.
    • getCorrectionNumber

      public long getCorrectionNumber()
      Returns the value of the property that maps to the correctionNumber element.

      Used for indicating the order of the corrections of a Time Slice. See the AIXM Temporality model for details.

      Returns:
      the value of the CORRECTION_NUMBER_PROPERTY property.
    • setCorrectionNumber

      public void setCorrectionNumber(long aValue)
      Sets the value of the property that maps to the correctionNumber element.

      Used for indicating the order of the corrections of a Time Slice. See the AIXM Temporality model for details.

      Parameters:
      aValue - the value to set for the CORRECTION_NUMBER_PROPERTY property.
    • getTimeSliceMetadata

      public TLcdAIXM51FeatureTimeSliceMetadataProperty getTimeSliceMetadata()
      Returns the value of the property that maps to the timeSliceMetadata element.
      Returns:
      the value of the TIME_SLICE_METADATA_PROPERTY property.
    • setTimeSliceMetadata

      public void setTimeSliceMetadata(TLcdAIXM51FeatureTimeSliceMetadataProperty aValue)
      Sets the value of the property that maps to the timeSliceMetadata element.
      Parameters:
      aValue - the value to set for the TIME_SLICE_METADATA_PROPERTY property.
    • getFeatureLifetime

      public TLcdGML32AbstractTimePrimitive getFeatureLifetime()
      Returns the value of the property that maps to the featureLifetime element.

      The start and end of life of the feature. See the AIXM Temporality model for details.

      Returns:
      the value of the FEATURE_LIFETIME_PROPERTY property.
      See Also:
    • setFeatureLifetime

      public void setFeatureLifetime(TLcdGML32AbstractTimePrimitive aValue)
      Sets the value of the property that maps to the featureLifetime element.

      The start and end of life of the feature. See the AIXM Temporality model for details.

      Parameters:
      aValue - the value to set for the FEATURE_LIFETIME_PROPERTY property.