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
FieldsModifier and TypeFieldDescriptionstatic final StringThe default display name associated with this model descriptor. -
Constructor Summary
ConstructorsConstructorDescriptionTLcdARINCModelListDescriptor(String aSourceName) Constructs a newTLcdARINCModelListDescriptorobject with the given source.TLcdARINCModelListDescriptor(String aSourceName, String aDisplayName) Constructs a newTLcdARINCModelListDescriptorobject 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".voidsetCycleDate(int aCycleDate) Set the cycle date for the corresponding model.voidsetExpirationDate(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, removeModelDescriptorMethods inherited from class com.luciad.model.TLcdEditableModelListDescriptor
getModelDescriptor, getModelDescriptorCountMethods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getSourceName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 newTLcdARINCModelListDescriptorobject with the given source. The display name is set toTLcdARINCModelListDescriptor.DISPLAY_NAME.- Parameters:
aSourceName- the name of the data source
-
TLcdARINCModelListDescriptor
Constructs a newTLcdARINCModelListDescriptorobject 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:
getTypeNamein interfaceILcdModelDescriptor- Overrides:
getTypeNamein classTLcdModelDescriptor- Returns:
- "ARINC";
-
getCycleDate
Description copied from interface:ILcdARINCModelDescriptorSupportReturns 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:
getCycleDatein interfaceILcdARINCModelDescriptorSupport- Returns:
- the cycle date
- See Also:
-
getExpirationDate
Description copied from interface:ILcdARINCModelDescriptorSupportReturns the expiration date for the corresponding model or null if there is no expiration date set.- Specified by:
getExpirationDatein interfaceILcdARINCModelDescriptorSupport- Returns:
- the expiration date
- See Also:
-
setCycleDate
public void setCycleDate(int aCycleDate) Description copied from interface:ILcdARINCModelDescriptorSupportSet 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:
setCycleDatein interfaceILcdARINCModelDescriptorSupport- Parameters:
aCycleDate- the cycle date- See Also:
-
setExpirationDate
Description copied from interface:ILcdARINCModelDescriptorSupportSet the expiration date for the ARINC data for the corresponding model.- Specified by:
setExpirationDatein interfaceILcdARINCModelDescriptorSupport- Parameters:
aExpirationDate- the expiration date to be set- See Also:
-