Package com.luciad.format.dgn
Class TLcdDGNDMRSAttribute
java.lang.Object
com.luciad.format.dgn.ALcdDGNAttributes
com.luciad.format.dgn.TLcdDGNDMRSAttribute
- All Implemented Interfaces:
ILcdDGNAttributes
,ILcdDGNDatabaseAttribute
,Serializable
This class represents a DMRS attribute.
- See Also:
-
Constructor Summary
ConstructorDescriptionTLcdDGNDMRSAttribute
(String aURL, int aEntity, int aMsLink, ILcdDGNAttributes aNextAttribute) -
Method Summary
Methods inherited from class com.luciad.format.dgn.ALcdDGNAttributes
getNextAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.format.dgn.ILcdDGNAttributes
getNextAttribute
-
Constructor Details
-
TLcdDGNDMRSAttribute
public TLcdDGNDMRSAttribute(String aURL, int aEntity, int aMsLink, ILcdDGNAttributes aNextAttribute)
-
-
Method Details
-
getURL
- Specified by:
getURL
in 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:
getEntity
in 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
TABLENAME
column in theMSCATALOG
table, based on theENTITY
key:SELECT TABLENAME FROM MSCATALOG WHERE ENTITYNUM =
<entity>The default table name is
FEATURE
.
-
getMsLink
public int getMsLink()- Specified by:
getMsLink
in interfaceILcdDGNDatabaseAttribute
- 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>
-