Class TLcdGMLModelDescriptor

All Implemented Interfaces:
ILcdAnnotatedElement, ILcdDataModelDescriptor, ILcdModelDescriptor, Serializable
Direct Known Subclasses:
TLcdGML2ModelDescriptor, TLcdGML31ModelDescriptor, TLcdGML32ModelDescriptor

public class TLcdGMLModelDescriptor extends TLcdDataModelDescriptor
Implementation of ILcdModelDescriptor for GML 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 GML versions may extend this class and provide more detailed/additional information.

Since:
9.0
See Also:
  • Constructor Details

    • TLcdGMLModelDescriptor

      public TLcdGMLModelDescriptor(String aSourceName, TLcdDataModel aDataModel)
      Creates a new TLcdGMLModelDescriptor, 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.
      aDataModel - the data models that describe this model
    • TLcdGMLModelDescriptor

      public TLcdGMLModelDescriptor(String aSourceName, String aDisplayName, TLcdDataModel aDataModel)
      Creates a new TLcdGMLModelDescriptor, 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.
      aDataModel - the data model that describes this model
  • 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