Class TLcdNVGModelDescriptor

All Implemented Interfaces:
ILcdAnnotatedElement, ILcdDataModelDescriptor, ILcdModelDescriptor, Serializable
Direct Known Subclasses:
TLcdNVG15ModelDescriptor, TLcdNVG20ModelDescriptor

public class TLcdNVGModelDescriptor extends TLcdDataModelDescriptor
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 Details

    • TLcdNVGModelDescriptor

      public 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. The model types and model element types are null.
      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

      public String 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 interface ILcdModelDescriptor
      Overrides:
      getSourceName in class TLcdModelDescriptor
      Returns:
      the full name of the data source.
    • setSourceName

      public void setSourceName(String aSourceName)
      Sets the source name for this descriptor
      Overrides:
      setSourceName in class TLcdModelDescriptor
      Parameters:
      aSourceName - the source name to set