Interface ILcdDGNDatabaseAttribute

All Superinterfaces:
ILcdDGNAttributes, Serializable
All Known Implementing Classes:
TLcdDGNDMRSAttribute, TLcdDGNMsLinkAttribute

public interface ILcdDGNDatabaseAttribute extends ILcdDGNAttributes
This interface represents a ILcdDGNAttributes element that refers to a database.
  • Method Details

    • getURL

      String getURL()
      Returns:
      the URL assigned by the model decoder, typically pointing to the database that contains the attribute values.
    • getEntity

      int getEntity()
      Returns:
      the ENTITY number of the attribute, specifying the table in which the attributes can be found.

      The attribute table name can be retrieved from the TABLENAME column in the MSCATALOG table, based on the ENTITY key:

      SELECT TABLENAME FROM MSCATALOG WHERE ENTITYNUM = <entity>

      The default table name is FEATURE.

    • getMsLink

      int getMsLink()
      Returns:
      the MSLINK value of the attribute, specifying the attribute value.

      The attributes can be retrieved from attribute table, based on the MSLINK key:

      SELECT * FROM <attribute table> WHERE MSLINK = <mslink>