Package com.luciad.format.arinc.model
Class TLcdARINCModelListDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdEditableModelListDescriptor
com.luciad.model.TLcdEditableDataModelListDescriptor
com.luciad.format.arinc.model.TLcdARINCModelListDescriptor
- All Implemented Interfaces:
ILcdARINCModelDescriptorSupport
,ILcdDataModelDescriptor
,ILcdModelDescriptor
,Serializable
public class TLcdARINCModelListDescriptor
extends TLcdEditableDataModelListDescriptor
implements ILcdARINCModelDescriptorSupport
A model descriptor for modellists containing submodels with ARINC data.
The source and display name are configurable; the type name
is fixed and set to "ARINC".
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The default display name associated with this model descriptor. -
Constructor Summary
ConstructorDescriptionTLcdARINCModelListDescriptor
(String aSourceName) Constructs a newTLcdARINCModelListDescriptor
object with the given source.TLcdARINCModelListDescriptor
(String aSourceName, String aDisplayName) Constructs a newTLcdARINCModelListDescriptor
object with the given source and display name. -
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.The type name of this modellist descriptor, which is always "ARINC".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.model.TLcdEditableDataModelListDescriptor
addModelDescriptor, getDataModel, getModelElementTypes, getModelTypes, insertModelDescriptorAt, removeAllModelDescriptors, removeModelDescriptor
Methods inherited from class com.luciad.model.TLcdEditableModelListDescriptor
getModelDescriptor, getModelDescriptorCount
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, 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.model.ILcdModelDescriptor
getDisplayName, getSourceName
-
Field Details
-
DISPLAY_NAME
The default display name associated with this model descriptor.- See Also:
-
-
Constructor Details
-
TLcdARINCModelListDescriptor
Constructs a newTLcdARINCModelListDescriptor
object with the given source. The display name is set toTLcdARINCModelListDescriptor.DISPLAY_NAME
.- Parameters:
aSourceName
- the name of the data source
-
TLcdARINCModelListDescriptor
Constructs a newTLcdARINCModelListDescriptor
object with the given source and display name.- Parameters:
aSourceName
- the name of the data sourceaDisplayName
- the display name of the data source- Since:
- 2020.1
-
-
Method Details
-
getTypeName
The type name of this modellist descriptor, which is always "ARINC".- Specified by:
getTypeName
in interfaceILcdModelDescriptor
- Overrides:
getTypeName
in classTLcdModelDescriptor
- Returns:
- "ARINC";
-
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:
-