public class TLcdNVG20ModelDescriptor extends TLcdNVGModelDescriptor
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_NAME
Type name identifying the NVG 2.0 format type.
|
Constructor and Description |
---|
TLcdNVG20ModelDescriptor(String aSourceName)
Creates a new
TLcdNVG20ModelDescriptor , initialized with
the specified source name. |
TLcdNVG20ModelDescriptor(String aSourceName,
String aDisplayName)
Creates a new
TLcdNVG20ModelDescriptor , initialized with
the specified source name. |
Modifier and Type | Method and Description |
---|---|
Set<TLcdDataType> |
getModelElementTypes()
Returns a set containing all the data types of which instances can be elements in the model
associated with this descriptor.
|
getSourceName, setSourceName
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelTypes, isAnnotationPresent, removeAnnotation
getDisplayName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getTypeName
public static final String TYPE_NAME
public TLcdNVG20ModelDescriptor(String aSourceName)
TLcdNVG20ModelDescriptor
, initialized with
the specified source name.aSourceName
- the full name that uniquely identifies the data source from which this
descriptor's model was decoded.public TLcdNVG20ModelDescriptor(String aSourceName, String aDisplayName)
TLcdNVG20ModelDescriptor
, initialized with
the specified source name.aSourceName
- the full name that uniquely identifies the data source from which this
descriptor's model was decoded.aDisplayName
- a displayable name for the model.public Set<TLcdDataType> getModelElementTypes()
ILcdDataModelDescriptor
Returns a set containing all the data types of which instances can be elements in the model associated with this descriptor. Implementations are free to limit the result to only include the types of which there are actually elements in the model; but they are not required to do so.
Implementations should return null
in case they don't know
which element types are present in the model.
For each element of the model associated with this model descriptor, the following holds true :
getModelElementTypes().contains( element.getDataType() )
.
getModelElementTypes
in interface ILcdDataModelDescriptor
getModelElementTypes
in class TLcdDataModelDescriptor