|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMapTableInfo
Provides access to the Table Info.
Method Summary | |
---|---|
String |
getDisplayField()
Primary display field. |
IFields |
getFields()
Array of attribute fields contained in the table. |
int |
getHTMLPopupType()
Indicates if the layer has HTML popups enabled. |
int |
getID()
The table ID. |
String |
getName()
Descriptive name of the table. |
String |
getOIDFieldName()
The name of the OID Field. |
IRelateInfos |
getRelateInfos()
Array of relates associated to the table. |
boolean |
isHasAttachments()
Indicates if the layer has attachments. |
boolean |
isHasSubtype()
Indicates if the layer has Subtype. |
Method Detail |
---|
int getID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IFields getFields() throws IOException, AutomationException
Note: ObjectID field is always included even when the field is invisible in the source map document.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IRelateInfos getRelateInfos() throws IOException, AutomationException
In order for MapServer to advertise a relationship, both source and destination layer/standalone table must be added to the source map document. For example, Layer A is related to Table B in the GeoDatabase; Layer A is added to the map while Table B is not, in this scenario, MapServer will not publicize this relationship and therefore QueryRelatedRows function cannot be used to get related row(s) for feature from Layer A.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isHasAttachments() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getHTMLPopupType() throws IOException, AutomationException
StandaloneTable does not support HTMLPopup
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getDisplayField() throws IOException, AutomationException
When DisplayExpression is used in the source map document, MapServer returns the first field used in the expression.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getOIDFieldName() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isHasSubtype() throws IOException, AutomationException
Note: in case when the subtype field name is invisible in the source map document, HasSubtype will return False even though the layer has Subtypes.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |