public class TLcdASTERIXModelListDescriptor extends TLcdEditableModelListDescriptor implements ILcdDataSourceModelDescriptor<TLcdASTERIXDataSource>
Constructor and Description |
---|
TLcdASTERIXModelListDescriptor(String aSourceName,
String aDisplayName)
Create a TLcdASTERIXModelListDescriptor with the given source and display name.
|
TLcdASTERIXModelListDescriptor(TLcdASTERIXDataSource aDataSource,
String aDisplayName)
Create a TLcdASTERIXModelListDescriptor with the given source and display name.
|
Modifier and Type | Method and Description |
---|---|
TLcdASTERIXDataSource |
getDataSource()
Returns the data source containing the source names that were decoded.
|
void |
setDataSource(TLcdASTERIXDataSource aDataSource)
Updates the data source of this model descriptor.
|
void |
setSourceName(String aName)
Sets a new source name for this model descriptor.
|
addModelDescriptor, getModelDescriptor, getModelDescriptorCount, insertModelDescriptorAt, removeAllModelDescriptors, removeModelDescriptor
getDisplayName, getSourceName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getSourceName, getTypeName
public TLcdASTERIXModelListDescriptor(String aSourceName, String aDisplayName)
aSourceName
- an indication of the source of the model(s).aDisplayName
- a display name for the data in the model(s).public TLcdASTERIXModelListDescriptor(TLcdASTERIXDataSource aDataSource, String aDisplayName)
aDataSource
- The data source containing the source names that were decoded.aDisplayName
- a display name for the data in the model(s).public TLcdASTERIXDataSource getDataSource()
getDataSource
in interface ILcdDataSourceModelDescriptor<TLcdASTERIXDataSource>
TLcdASTERIXDataSource
object, or null
if the source is unspecified.ILcdModelDecoder
public void setDataSource(TLcdASTERIXDataSource aDataSource)
null
, the source name will also be set to null
.null
.aDataSource
- The new data source for this descriptor. This may be null
.public void setSourceName(String aName)
setSourceName
in class TLcdModelDescriptor
aName
- the new source name. May be null
to indicate that the source is unknown.