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
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to thecorrectionNumberelement.static final TLcdDataPropertyData property that maps to thefeatureLifetimeelement.static final TLcdDataPropertyData property that maps to theinterpretationelement.static final TLcdDataPropertyData property that maps to thesequenceNumberelement.static final TLcdDataPropertyData property that maps to thetimeSliceMetadataelement.Fields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractTimeSlice
DATA_SOURCE_PROPERTY, VALID_TIME_PROPERTYFields inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
DESCRIPTION_PROPERTY, DESCRIPTION_REFERENCE_PROPERTY, ID_PROPERTY, IDENTIFIER_PROPERTY, META_DATA_PROPERTY_PROPERTY, NAME_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newTLcdAIXM51AbstractAIXMTimeSlicefor the given type. -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a deep clone of this object.Returns a deep clone of this object.Override this method to collect all shapes that needs to be included in theILcdShapeListimplementation of this feature.booleancontains2D(double aX, double aY) Checks whether thisILcdShapecontains the given point in the 2D space.booleancontains2D(ILcdPoint aPoint) Checks whether thisILcdShapecontains the givenILcdPointin the 2D space.booleancontains3D(double aX, double aY, double aZ) Checks whether thisILcdShapecontains the given point in the 3D space.booleancontains3D(ILcdPoint aPoint) Checks whether thisILcdShapecontains the givenILcdPointin the 3D space.Returns the begin of the valid time of this timeslice.Returns theILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.longReturns the value of the property that maps to thecorrectionNumberelement.Returns the end of the valid time of this timeslice.Returns the value of the property that maps to thefeatureLifetimeelement.Returns the focus point of thisILcdShape.Returns the value of the property that maps to theinterpretationelement.longReturns the value of the property that maps to thesequenceNumberelement.getShape(int aIndex) Returns theILcdShapeat the given index.intReturns the number ofILcdShapeobjects in the list.Returns theILcdTimeBoundsby which this object is bounded.Returns the value of the property that maps to thetimeSliceMetadataelement.voidNotifies this object that something in its structure has been changed.voidsetCorrectionNumber(long aValue) Sets the value of the property that maps to thecorrectionNumberelement.voidSets the value of the property that maps to thefeatureLifetimeelement.voidSets the value of the property that maps to theinterpretationelement.voidsetSequenceNumber(long aValue) Sets the value of the property that maps to thesequenceNumberelement.voidSets the value of the property that maps to thetimeSliceMetadataelement.voidsetValue(TLcdDataProperty aProperty, Object aValue) Sets the value of the given property for this data object.Methods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractTimeSlice
getDataSource, getValidTime, setDataSource, setValidTimeMethods inherited from class com.luciad.format.gml32.model.TLcdGML32AbstractGML
getDescription, getDescriptionReference, getId, getIdentifier, getMetaDataProperty, getName, setDescription, setDescriptionReference, setId, setIdentifierMethods inherited from class com.luciad.datamodel.TLcdDataObject
getDataType, getValue, getValue, hasValue, hasValue, setValue, toString
-
Field Details
-
INTERPRETATION_PROPERTY
Data property that maps to theinterpretationelement. The possible values for this property are instances ofELcdAIXM51Interpretation. -
SEQUENCE_NUMBER_PROPERTY
Data property that maps to thesequenceNumberelement. The possible values for this property are instances oflong. -
CORRECTION_NUMBER_PROPERTY
Data property that maps to thecorrectionNumberelement. The possible values for this property are instances oflong. -
TIME_SLICE_METADATA_PROPERTY
Data property that maps to thetimeSliceMetadataelement. The possible values for this property are instances ofTLcdAIXM51FeatureTimeSliceMetadataProperty. -
FEATURE_LIFETIME_PROPERTY
Data property that maps to thefeatureLifetimeelement. The possible values for this property are instances ofTLcdGML32TimePrimitiveProperty.
-
-
Constructor Details
-
TLcdAIXM51AbstractAIXMTimeSlice
Constructs a newTLcdAIXM51AbstractAIXMTimeSlicefor the given type. The type must be a subtype ofAIXM51AbstractAIXMTimeSliceType.- Parameters:
aType- the time slice type for which to create a new instance
-
-
Method Details
-
collectShapes
Override this method to collect all shapes that needs to be included in theILcdShapeListimplementation 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
Listcontaining allILcdShapeelements 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:
invalidateObjectin interfaceILcdInvalidateable
-
setValue
Description copied from interface:ILcdDataObjectSets 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 thedata object's typeor in one of its super types. In other words, getDataType().getProperties().contains( aProperty ) should always be true. Otherwise, the implementation should throw anIllegalArgumentException.- Specified by:
setValuein interfaceILcdDataObject- Overrides:
setValuein classTLcdDataObject- Parameters:
aProperty- the property for which the value is to be setaValue- the value to set- See Also:
-
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
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:ILcdShapeListReturns the number ofILcdShapeobjects in the list.- Specified by:
getShapeCountin interfaceILcdShapeList- Returns:
- the number of
ILcdShapeobjects in the list.
-
getShape
Description copied from interface:ILcdShapeListReturns theILcdShapeat the given index.- Specified by:
getShapein interfaceILcdShapeList- Parameters:
aIndex- a valid index in the list ofILcdShapeobjects.- Returns:
- the
ILcdShapeat the given index. - Throws:
IndexOutOfBoundsException- when the index is not valid.
-
contains2D
Description copied from interface:ILcdShapeChecks whether thisILcdShapecontains the givenILcdPointin the 2D space. Only the first two dimensions of theILcdShapeand theILcdPointare considered.- Specified by:
contains2Din interfaceILcdShape- Parameters:
aPoint- theILcdPointto test.- Returns:
- the boolean result of the containment test.
- See Also:
-
contains3D
Description copied from interface:ILcdShapeChecks whether thisILcdShapecontains the givenILcdPointin the 3D space.- Specified by:
contains3Din interfaceILcdShape- Parameters:
aPoint- theILcdPointto 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:ILcdShapeChecks whether thisILcdShapecontains the given point in the 3D space.- Specified by:
contains3Din interfaceILcdShape- 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:ILcdShapeChecks whether thisILcdShapecontains the given point in the 2D space. Only the first two dimensions of theILcdShapeare considered.- Specified by:
contains2Din interfaceILcdShape- Parameters:
aX- the x coordinate of the point.aY- the y coordinate of the point.- Returns:
- the boolean result of the containment test.
-
getFocusPoint
Description copied from interface:ILcdShapeReturns the focus point of thisILcdShape.- Specified by:
getFocusPointin interfaceILcdShape- Returns:
- the focus point of this
ILcdShape.
-
clone
Description copied from class:TLcdDataObjectReturns a deep clone of this object. This method delegates toTLcdDataObject.clone(Map).- Specified by:
clonein interfaceILcdCloneable- Overrides:
clonein classTLcdDataObject- Returns:
- a deep clone of this object
- See Also:
-
clone
Description copied from class:TLcdDataObjectReturns 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 thevalue.getDataType().newInstance()method, and then cloning its properties one by one. - If the value implements
ILcdDeepCloneableorILcdCloneablethen this interface is used to clone the value. - Otherwise, the property value is copied by reference.
- If the property value is an
- Specified by:
clonein interfaceILcdDeepCloneable- Overrides:
clonein classTLcdDataObject- 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
Description copied from interface:ILcdBoundedReturns theILcdBoundsby which the geometry of thisILcdBoundedobject 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
undefinedbounds. You can create undefined bounds using the default constructors ofTLcdLonLatBoundsorTLcdXYBounds.- Specified by:
getBoundsin interfaceILcdBounded- Returns:
- the
ILcdBoundsby which the geometry of thisILcdBoundedobject is bounded.
-
getTimeBounds
Description copied from interface:ILcdTimeBoundedReturns theILcdTimeBoundsby which this object is bounded.- Specified by:
getTimeBoundsin interfaceILcdTimeBounded- Returns:
- the
ILcdTimeBoundsby which this object is bounded.
-
getInterpretation
Returns the value of the property that maps to theinterpretationelement.Property indicating how the timeslice is to be interpreted. See the AIXM Temporality model for details.
- Returns:
- the value of the
INTERPRETATION_PROPERTYproperty.
-
setInterpretation
Sets the value of the property that maps to theinterpretationelement.Property indicating how the timeslice is to be interpreted. See the AIXM Temporality model for details.
- Parameters:
aValue- the value to set for theINTERPRETATION_PROPERTYproperty.
-
getSequenceNumber
public long getSequenceNumber()Returns the value of the property that maps to thesequenceNumberelement.Used for the identification of the Time Slice concerned. See the AIXM Temporality model for details.
- Returns:
- the value of the
SEQUENCE_NUMBER_PROPERTYproperty.
-
setSequenceNumber
public void setSequenceNumber(long aValue) Sets the value of the property that maps to thesequenceNumberelement.Used for the identification of the Time Slice concerned. See the AIXM Temporality model for details.
- Parameters:
aValue- the value to set for theSEQUENCE_NUMBER_PROPERTYproperty.
-
getCorrectionNumber
public long getCorrectionNumber()Returns the value of the property that maps to thecorrectionNumberelement.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_PROPERTYproperty.
-
setCorrectionNumber
public void setCorrectionNumber(long aValue) Sets the value of the property that maps to thecorrectionNumberelement.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 theCORRECTION_NUMBER_PROPERTYproperty.
-
getTimeSliceMetadata
Returns the value of the property that maps to thetimeSliceMetadataelement.- Returns:
- the value of the
TIME_SLICE_METADATA_PROPERTYproperty.
-
setTimeSliceMetadata
Sets the value of the property that maps to thetimeSliceMetadataelement.- Parameters:
aValue- the value to set for theTIME_SLICE_METADATA_PROPERTYproperty.
-
getFeatureLifetime
Returns the value of the property that maps to thefeatureLifetimeelement.The start and end of life of the feature. See the AIXM Temporality model for details.
- Returns:
- the value of the
FEATURE_LIFETIME_PROPERTYproperty. - See Also:
-
setFeatureLifetime
Sets the value of the property that maps to thefeatureLifetimeelement.The start and end of life of the feature. See the AIXM Temporality model for details.
- Parameters:
aValue- the value to set for theFEATURE_LIFETIME_PROPERTYproperty.
-