Class TLcdARINCControlledAirspaceModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.ais.model.TLcdHashedFeaturedModelDescriptor
com.luciad.ais.model.airspace.TLcdAirspaceModelDescriptor
com.luciad.format.arinc.model.airspace.TLcdARINCControlledAirspaceModelDescriptor
- All Implemented Interfaces:
ILcdARINCModelDescriptorSupport
,ILcdDataModelDescriptor
,ILcdModelDescriptor
,ILcdCollectionFeaturedDescriptor
,ILcdFeaturedDescriptor
,Serializable
public class TLcdARINCControlledAirspaceModelDescriptor
extends TLcdAirspaceModelDescriptor
implements ILcdCollectionFeaturedDescriptor, ILcdARINCModelDescriptorSupport
A model descriptor for ARINC models containing
ILcdAirspace
objects
that represent Controlled Airspaces.
The type name (getTypeName()
) and the display name (getDisplayName()
)
are respectively set to "ARINC" and
TLcdARINCControlledAirspaceModelDescriptor.DISPLAY_NAME
.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The display name associated with this model descriptor. -
Constructor Summary
ConstructorDescriptionTLcdARINCControlledAirspaceModelDescriptor
(String aSourceName) Constructs a newTLcdARINCControlledAirspaceModelDescriptor
object withTLcdARINCDataTypes.Airspace
as model element type.TLcdARINCControlledAirspaceModelDescriptor
(String aSourceName, TLcdDataType aDataType) Constructs a newTLcdARINCControlledAirspaceModelDescriptor
object.TLcdARINCControlledAirspaceModelDescriptor
(String aSourceName, String[] aFeatureNames, Class[] aFeatureClasses) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionReturns the cycle date for the corresponding model or null if there is no cycle date set.Returns the expiration date for the corresponding model or null if there is no expiration date set.getFeatureElementClass
(int aIndex) Returns class of elements in a collection returned byILcdFeaturedDescriptor.getFeatureClass(int)
given that all elements must implement this class.void
setCycleDate
(int aCycleDate) Set the cycle date for the corresponding model.void
setExpirationDate
(Date aExpirationDate) Set the expiration date for the ARINC data for the corresponding model.Methods inherited from class com.luciad.ais.model.TLcdHashedFeaturedModelDescriptor
getDataModel, getFeatureClass, getFeatureCount, getFeatureIndex, getFeatureName, getModelElementTypes, getModelTypes
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdFeaturedDescriptor
getFeatureClass, getFeatureCount, getFeatureIndex, getFeatureName, getFeatureUnitOfMeasure
Methods inherited from interface com.luciad.model.ILcdModelDescriptor
getDisplayName, getSourceName, getTypeName
-
Field Details
-
DISPLAY_NAME
The display name associated with this model descriptor.- See Also:
-
-
Constructor Details
-
TLcdARINCControlledAirspaceModelDescriptor
@Deprecated public TLcdARINCControlledAirspaceModelDescriptor(String aSourceName, String[] aFeatureNames, Class[] aFeatureClasses) Deprecated.Constructs a newTLcdARINCControlledAirspaceModelDescriptor
object.- Parameters:
aSourceName
- the name of the data sourceaFeatureNames
- the feature namesaFeatureClasses
- the feature classes
-
TLcdARINCControlledAirspaceModelDescriptor
Constructs a newTLcdARINCControlledAirspaceModelDescriptor
object.- Parameters:
aSourceName
- the name of the data sourceaDataType
- the type of the elements of this descriptor's model
-
TLcdARINCControlledAirspaceModelDescriptor
Constructs a newTLcdARINCControlledAirspaceModelDescriptor
object withTLcdARINCDataTypes.Airspace
as model element type.- Parameters:
aSourceName
- the name of the data source
-
-
Method Details
-
getFeatureElementClass
Description copied from interface:ILcdCollectionFeaturedDescriptor
Returns class of elements in a collection returned byILcdFeaturedDescriptor.getFeatureClass(int)
given that all elements must implement this class. If the feature class is not a collection, this method returnsnull
.- Specified by:
getFeatureElementClass
in interfaceILcdCollectionFeaturedDescriptor
- Parameters:
aIndex
- the index of the feature to retrieve the elements class for. Typically this should only be done for features in whichILcdFeaturedDescriptor.getFeatureClass(int)
returns some kind of collection. For other features (with single values), this method should revert toILcdFeaturedDescriptor.getFeatureClass(int)
.- Returns:
- class of elements in a collection returned by
ILcdFeaturedDescriptor.getFeatureClass(int)
given that all elements must implement this class. If the feature class is not a collection, this method returnsnull
.
-
getCycleDate
Description copied from interface:ILcdARINCModelDescriptorSupport
Returns the cycle date for the corresponding model or null if there is no cycle date set. The cycle date is a 4 digits integer.The first two digits of the field contain the last two digits of the year. The last two digits contain the numeric identity of the 28-day data update cycle. Each calendar year contains 13 such cycles, however, on rare occasions 14 cycles will be encountered.
- Specified by:
getCycleDate
in interfaceILcdARINCModelDescriptorSupport
- Returns:
- the cycle date
- See Also:
-
getExpirationDate
Description copied from interface:ILcdARINCModelDescriptorSupport
Returns the expiration date for the corresponding model or null if there is no expiration date set.- Specified by:
getExpirationDate
in interfaceILcdARINCModelDescriptorSupport
- Returns:
- the expiration date
- See Also:
-
setCycleDate
public void setCycleDate(int aCycleDate) Description copied from interface:ILcdARINCModelDescriptorSupport
Set the cycle date for the corresponding model. The cycle date is a 4 digits integer.The first two digits of the field contain the last two digits of the year. The last two digits contain the numeric identity of the 28-day data update cycle. Each calendar year contains 13 such cycles, however, on rare occasions 14 cycles will be encountered.
- Specified by:
setCycleDate
in interfaceILcdARINCModelDescriptorSupport
- Parameters:
aCycleDate
- the cycle date- See Also:
-
setExpirationDate
Description copied from interface:ILcdARINCModelDescriptorSupport
Set the expiration date for the ARINC data for the corresponding model.- Specified by:
setExpirationDate
in interfaceILcdARINCModelDescriptorSupport
- Parameters:
aExpirationDate
- the expiration date to be set- See Also:
-