public class TLcdARINCModelListDescriptor extends TLcdEditableDataModelListDescriptor implements ILcdARINCModelDescriptorSupport
The source and display name are configurable; the type name
is fixed and set to "ARINC".
TLcdEditableModelListDescriptor
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
DISPLAY_NAME
The default display name associated with this model descriptor.
|
Constructor and Description |
---|
TLcdARINCModelListDescriptor(String aSourceName)
Constructs a new
TLcdARINCModelListDescriptor object
with the given source. |
TLcdARINCModelListDescriptor(String aSourceName,
String aDisplayName)
Constructs a new
TLcdARINCModelListDescriptor object
with the given source and display name. |
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.
|
String |
getTypeName()
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.
|
addModelDescriptor, getDataModel, getModelElementTypes, getModelTypes, insertModelDescriptorAt, removeAllModelDescriptors, removeModelDescriptor
getModelDescriptor, getModelDescriptorCount
getDisplayName, getSourceName, setDisplayName, setSourceName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getSourceName
public static final String DISPLAY_NAME
public TLcdARINCModelListDescriptor(String aSourceName)
TLcdARINCModelListDescriptor
object
with the given source. The display name is set to
TLcdARINCModelListDescriptor.DISPLAY_NAME
.aSourceName
- the name of the data sourcepublic TLcdARINCModelListDescriptor(String aSourceName, String aDisplayName)
TLcdARINCModelListDescriptor
object
with the given source and display name.aSourceName
- the name of the data sourceaDisplayName
- the display name of the data sourcepublic String getTypeName()
getTypeName
in interface ILcdModelDescriptor
getTypeName
in class TLcdModelDescriptor
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()