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
ConstructorsConstructorDescriptionTLcdNVGModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, TLcdDataModel aDataModel) Constructs a newTLcdDataModelDescriptorwith 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.voidsetSourceName(String aSourceName) Sets the source name for this descriptorMethods inherited from class com.luciad.model.TLcdDataModelDescriptor
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelElementTypes, 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
-
Constructor Details
-
TLcdNVGModelDescriptor
public TLcdNVGModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, TLcdDataModel aDataModel) Constructs a newTLcdDataModelDescriptorwith 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:ILcdModelDescriptorReturns 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:
getSourceNamein interfaceILcdModelDescriptor- Overrides:
getSourceNamein classTLcdModelDescriptor- Returns:
- the full name of the data source.
-
setSourceName
Sets the source name for this descriptor- Overrides:
setSourceNamein classTLcdModelDescriptor- Parameters:
aSourceName- the source name to set
-