public class TLcdARINCControlledAirspaceModelDescriptor extends TLcdAirspaceModelDescriptor implementsILcdCollectionFeaturedDescriptor, ILcdARINCModelDescriptorSupport
ILcdAirspace
objects
that represent Controlled Airspaces.
The type name (getTypeName()
) and the display name (getDisplayName()
)
are respectively set to "ARINC" and
TLcdARINCControlledAirspaceModelDescriptor.DISPLAY_NAME
.
TLcdAirspaceModelDescriptor
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
DISPLAY_NAME
The display name associated with this model descriptor.
|
Constructor and Description |
---|
TLcdARINCControlledAirspaceModelDescriptor(String aSourceName)
Constructs a new
TLcdARINCControlledAirspaceModelDescriptor object with
TLcdARINCDataTypes.Airspace as model element type. |
TLcdARINCControlledAirspaceModelDescriptor(String aSourceName,
String[] aFeatureNames,
Class[] aFeatureClasses)
Deprecated.
|
TLcdARINCControlledAirspaceModelDescriptor(String aSourceName,
TLcdDataType aDataType)
Constructs a new
TLcdARINCControlledAirspaceModelDescriptor object. |
Modifier and Type | Method and Description |
---|---|
Integer |
getCycleDate()
Returns the cycle date for the corresponding model or null if there is no cycle date set.
|
Date |
getExpirationDate()
Returns the expiration date for the corresponding model or null if there is no expiration date set.
|
Class |
getFeatureElementClass(int aIndex)
Returns class of elements in a collection returned by
ILcdFeaturedDescriptor.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.
|
getDataModel, getFeatureClass, getFeatureCount, getFeatureIndex, getFeatureName, getModelElementTypes, getModelTypes
getDisplayName, getSourceName, getTypeName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFeatureClass, getFeatureCount, getFeatureIndex, getFeatureName, getFeatureUnitOfMeasure
getDisplayName, getSourceName, getTypeName
public static final String DISPLAY_NAME
@Deprecated public TLcdARINCControlledAirspaceModelDescriptor(String aSourceName, String[] aFeatureNames, Class[] aFeatureClasses)
TLcdARINCControlledAirspaceModelDescriptor
object.aSourceName
- the name of the data sourceaFeatureNames
- the feature namesaFeatureClasses
- the feature classespublic TLcdARINCControlledAirspaceModelDescriptor(String aSourceName, TLcdDataType aDataType)
TLcdARINCControlledAirspaceModelDescriptor
object.aSourceName
- the name of the data sourceaDataType
- the type of the elements of this descriptor's modelpublic TLcdARINCControlledAirspaceModelDescriptor(String aSourceName)
TLcdARINCControlledAirspaceModelDescriptor
object with
TLcdARINCDataTypes.Airspace
as model element type.aSourceName
- the name of the data sourcepublic Class getFeatureElementClass(int aIndex)
ILcdCollectionFeaturedDescriptor
ILcdFeaturedDescriptor.getFeatureClass(int)
given that all elements must implement this class. If the feature class is not a collection,
this method returns null
.getFeatureElementClass
in interface ILcdCollectionFeaturedDescriptor
aIndex
- the index of the feature to retrieve the elements class for.
Typically this should only be done for features in which ILcdFeaturedDescriptor.getFeatureClass(int)
returns some kind of collection. For other features (with single values), this method should revert to
ILcdFeaturedDescriptor.getFeatureClass(int)
.ILcdFeaturedDescriptor.getFeatureClass(int)
given that all elements must implement this class. If the feature class is not a collection,
this method returns null
.public Integer getCycleDate()
ILcdARINCModelDescriptorSupport
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.
getCycleDate
in interface ILcdARINCModelDescriptorSupport
ILcdARINCModelDescriptorSupport.setCycleDate(int)
public Date getExpirationDate()
ILcdARINCModelDescriptorSupport
getExpirationDate
in interface ILcdARINCModelDescriptorSupport
ILcdARINCModelDescriptorSupport.setExpirationDate(java.util.Date)
public void setCycleDate(int aCycleDate)
ILcdARINCModelDescriptorSupport
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.
setCycleDate
in interface ILcdARINCModelDescriptorSupport
aCycleDate
- the cycle dateILcdARINCModelDescriptorSupport.getCycleDate()
public void setExpirationDate(Date aExpirationDate)
ILcdARINCModelDescriptorSupport
setExpirationDate
in interface ILcdARINCModelDescriptorSupport
aExpirationDate
- the expiration date to be setILcdARINCModelDescriptorSupport.getExpirationDate()