Package com.luciad.format.dgn
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:
-
Field Summary
Fields inherited from interface com.luciad.format.dgn.ILcdDGNUserAttribute
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 Summary
ConstructorsConstructorDescriptionTLcdDGNMsLinkAttribute(String aURL, int aEntity, int aMsLink, int aType, ILcdDGNAttributes aNextAttribute) -
Method Summary
Methods inherited from class com.luciad.format.dgn.ALcdDGNAttributes
getNextAttributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.luciad.format.dgn.ILcdDGNAttributes
getNextAttribute
-
Constructor Details
-
TLcdDGNMsLinkAttribute
public TLcdDGNMsLinkAttribute(String aURL, int aEntity, int aMsLink, int aType, ILcdDGNAttributes aNextAttribute)
-
-
Method Details
-
getURL
- Specified by:
getURLin interfaceILcdDGNDatabaseAttribute- Returns:
- the URL assigned by the model decoder, typically pointing to the database that contains the attribute values.
-
getEntity
public int getEntity()- Specified by:
getEntityin interfaceILcdDGNDatabaseAttribute- 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
TABLENAMEcolumn in theMSCATALOGtable, based on theENTITYkey:SELECT TABLENAME FROM MSCATALOG WHERE ENTITYNUM =<entity>The default table name is
FEATURE.
-
getMsLink
public int getMsLink()- Specified by:
getMsLinkin interfaceILcdDGNDatabaseAttribute- Returns:
- the MSLINK value of the attribute, specifying the attribute value.
The attributes can be retrieved from attribute table, based on the
MSLINKkey:SELECT * FROM<attribute table>WHERE MSLINK =<mslink>
-
getType
public int getType()- Specified by:
getTypein interfaceILcdDGNUserAttribute- Returns:
- the attribute type:
ATTRIBUTE_USER_DATA_LINKAGE,ATTRIBUTE_IGDS, ...
-