Package com.luciad.format.nvg.xml
Class TLcdNVGModelDescriptor
java.lang.Object
com.luciad.model.TLcdModelDescriptor
com.luciad.model.TLcdDataModelDescriptor
com.luciad.format.nvg.xml.TLcdNVGModelDescriptor
- All Implemented Interfaces:
ILcdAnnotatedElement
,ILcdDataModelDescriptor
,ILcdModelDescriptor
,Serializable
- Direct Known Subclasses:
TLcdNVG15ModelDescriptor
,TLcdNVG20ModelDescriptor
General model descriptor for NVG data.
This model descriptor implements
ILcdAnnotatedElement
.
This enables it to store additional format-specific information,
such as the locations of the schemas that were used for reading
and interpreting the XML data and a NamespaceContext
.
Specific NVG versions may extend this class and provide more detailed/additional
information.- Since:
- 2015.0
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdNVGModelDescriptor
(String aSourceName, String aTypeName, String aDisplayName, TLcdDataModel aDataModel) Constructs a newTLcdDataModelDescriptor
with the given source name, type name, display name and data model. -
Method Summary
Modifier and TypeMethodDescriptionReturns the full name that uniquely identifies the data source.void
setSourceName
(String aSourceName) Sets the source name for this descriptorMethods inherited from class com.luciad.model.TLcdDataModelDescriptor
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelElementTypes, 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
-
Constructor Details
-
TLcdNVGModelDescriptor
public TLcdNVGModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, TLcdDataModel aDataModel) Constructs a newTLcdDataModelDescriptor
with the given source name, type name, display name and data model. The model types and model element types arenull
.- Parameters:
aSourceName
- the name of the data source.aTypeName
- the type name of the data source.aDisplayName
- the display name of the data source.aDataModel
- the data model of the data source
-
-
Method Details
-
getSourceName
Description copied from interface:ILcdModelDescriptor
Returns the full name that uniquely identifies the data source. This can be the full file name for a file source, or the table name for a database source, for instance.- Specified by:
getSourceName
in interfaceILcdModelDescriptor
- Overrides:
getSourceName
in classTLcdModelDescriptor
- Returns:
- the full name of the data source.
-
setSourceName
Sets the source name for this descriptor- Overrides:
setSourceName
in classTLcdModelDescriptor
- Parameters:
aSourceName
- the source name to set
-