Class TLcdDGNMsLinkAttribute

java.lang.Object
com.luciad.format.dgn.ALcdDGNAttributes
com.luciad.format.dgn.TLcdDGNMsLinkAttribute
All Implemented Interfaces:
ILcdDGNAttributes, ILcdDGNDatabaseAttribute, ILcdDGNUserAttribute, Serializable

public class TLcdDGNMsLinkAttribute extends ALcdDGNAttributes implements ILcdDGNUserAttribute, ILcdDGNDatabaseAttribute
This TLcdDGNUserAttribute represents a MicroStation database link.
See Also:
  • Constructor Details

    • TLcdDGNMsLinkAttribute

      public TLcdDGNMsLinkAttribute(String aURL, int aEntity, int aMsLink, int aType, ILcdDGNAttributes aNextAttribute)
  • Method Details

    • getURL

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

      public int getEntity()
      Specified by:
      getEntity in interface ILcdDGNDatabaseAttribute
      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

      public int getMsLink()
      Specified by:
      getMsLink in interface ILcdDGNDatabaseAttribute
      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>

    • getType

      public int getType()
      Specified by:
      getType in interface ILcdDGNUserAttribute
      Returns:
      the attribute type: ATTRIBUTE_USER_DATA_LINKAGE, ATTRIBUTE_IGDS, ...