Package com.luciad.format.nvg.nvg20.xml
Class TLcdNVG20ModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdDataModelDescriptor
com.luciad.format.nvg.xml.TLcdNVGModelDescriptor
com.luciad.format.nvg.nvg20.xml.TLcdNVG20ModelDescriptor
- All Implemented Interfaces:
ILcdAnnotatedElement
,ILcdDataModelDescriptor
,ILcdModelDescriptor
,Serializable
Model descriptor for NVG 2.0 data.
- Since:
- 2015.0
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTLcdNVG20ModelDescriptor
(String aSourceName) Creates a newTLcdNVG20ModelDescriptor
, initialized with the specified source name.TLcdNVG20ModelDescriptor
(String aSourceName, String aDisplayName) Creates a newTLcdNVG20ModelDescriptor
, initialized with the specified source name. -
Method Summary
Modifier and TypeMethodDescriptionReturns a set containing all the data types of which instances can be elements in the model associated with this descriptor.Methods inherited from class com.luciad.format.nvg.xml.TLcdNVGModelDescriptor
getSourceName, setSourceName
Methods inherited from class com.luciad.model.TLcdDataModelDescriptor
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelTypes, isAnnotationPresent, removeAnnotation
Methods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getTypeName, setDisplayName, 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, getTypeName
-
Field Details
-
TYPE_NAME
Type name identifying the NVG 2.0 format type.- Since:
- 2018.0
- See Also:
-
-
Constructor Details
-
TLcdNVG20ModelDescriptor
Creates a newTLcdNVG20ModelDescriptor
, initialized with the specified source name.- Parameters:
aSourceName
- the full name that uniquely identifies the data source from which this descriptor's model was decoded.
-
TLcdNVG20ModelDescriptor
Creates a newTLcdNVG20ModelDescriptor
, initialized with the specified source name.- Parameters:
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.
-
-
Method Details
-
getModelElementTypes
Description copied from interface: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() )
.- Specified by:
getModelElementTypes
in interfaceILcdDataModelDescriptor
- Overrides:
getModelElementTypes
in classTLcdDataModelDescriptor
- Returns:
- a set containing all the data types of which instances can be elements in the model associated with this descriptor
-