public class TLcdDGNMsLinkAttribute extends ALcdDGNAttributes implements ILcdDGNUserAttribute, ILcdDGNDatabaseAttribute
TLcdDGNUserAttribute
represents a MicroStation database link.ATTRIBUTE_ASSOCIATED_HATCH, ATTRIBUTE_DBASE_LINKAGE, ATTRIBUTE_ELEMENT_TAG, ATTRIBUTE_FILL_COLOR, ATTRIBUTE_IGDS, ATTRIBUTE_INFORMIX_LINKAGE, ATTRIBUTE_INGRES_LINKAGE, ATTRIBUTE_ODBC_LINKAGE, ATTRIBUTE_ORACLE_LINKAGE, ATTRIBUTE_RIS_LINKAGE, ATTRIBUTE_SYBASE_LINKAGE, ATTRIBUTE_TEXT_ENHANCEMENTS, ATTRIBUTE_USER_DATA_LINKAGE, ATTRIBUTE_USER_LINE_STYLE
Constructor and Description |
---|
TLcdDGNMsLinkAttribute(String aURL,
int aEntity,
int aMsLink,
int aType,
ILcdDGNAttributes aNextAttribute) |
Modifier and Type | Method and Description |
---|---|
int |
getEntity() |
int |
getMsLink() |
int |
getType() |
String |
getURL() |
getNextAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextAttribute
public TLcdDGNMsLinkAttribute(String aURL, int aEntity, int aMsLink, int aType, ILcdDGNAttributes aNextAttribute)
public String getURL()
getURL
in interface ILcdDGNDatabaseAttribute
public int getEntity()
getEntity
in interface ILcdDGNDatabaseAttribute
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
.
public int getMsLink()
getMsLink
in interface ILcdDGNDatabaseAttribute
The attributes can be retrieved from attribute table, based on the
MSLINK
key:
SELECT * FROM
<attribute table> WHERE MSLINK =
<mslink>
public int getType()
getType
in interface ILcdDGNUserAttribute
ATTRIBUTE_USER_DATA_LINKAGE
,
ATTRIBUTE_IGDS
, ...