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
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTLcdNVG20ModelDescriptor(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, setSourceNameMethods inherited from class com.luciad.model.TLcdDataModelDescriptor
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelTypes, isAnnotationPresent, removeAnnotationMethods inherited from class com.luciad.model.TLcdModelDescriptor
getDisplayName, getTypeName, setDisplayName, 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, 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:ILcdDataModelDescriptorReturns 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
nullin 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:
getModelElementTypesin interfaceILcdDataModelDescriptor- Overrides:
getModelElementTypesin classTLcdDataModelDescriptor- Returns:
- a set containing all the data types of which instances can be elements in the model associated with this descriptor
-