public class TLcdNVGModelDescriptor extends TLcdDataModelDescriptor
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.Constructor and Description |
---|
TLcdNVGModelDescriptor(String aSourceName,
String aTypeName,
String aDisplayName,
TLcdDataModel aDataModel)
Constructs a new
TLcdDataModelDescriptor with the given source name,
type name, display name and data model. |
Modifier and Type | Method and Description |
---|---|
String |
getSourceName()
Returns the full name that uniquely identifies the data source.
|
void |
setSourceName(String aSourceName)
Sets the source name for this descriptor
|
addAnnotation, getAnnotation, getAnnotations, getDataModel, getModelElementTypes, getModelTypes, isAnnotationPresent, removeAnnotation
getDisplayName, getTypeName, setDisplayName, setTypeName, sourceNameToDisplayName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getTypeName
public TLcdNVGModelDescriptor(String aSourceName, String aTypeName, String aDisplayName, TLcdDataModel aDataModel)
TLcdDataModelDescriptor
with the given source name,
type name, display name and data model. The model types and model element types are null
.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 sourcepublic String getSourceName()
ILcdModelDescriptor
getSourceName
in interface ILcdModelDescriptor
getSourceName
in class TLcdModelDescriptor
public void setSourceName(String aSourceName)
setSourceName
in class TLcdModelDescriptor
aSourceName
- the source name to set