com.esri.arcgis.carto
Interface IMapTableInfo2

All Superinterfaces:
Serializable
All Known Implementing Classes:
MapLayerInfo, StandaloneTableInfo

public interface IMapTableInfo2
extends Serializable

Provides access to additional properties for map tables.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


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.
 boolean isSupportsAdvancedQueries()
          Indicates if the table supports calculating advanced queries (i.e.
 boolean isSupportsStatistics()
          Indicates if the table supports calculating statistics on its fields.
 

Method Detail

getID

int getID()
          throws IOException,
                 AutomationException
The table ID. This is a unique ID among layers and tables, and is used to identify the table in a number of methods.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The tableID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

String getName()
               throws IOException,
                      AutomationException
Descriptive name of the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The name
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

IFields getFields()
                  throws IOException,
                         AutomationException
Array of attribute fields contained in the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.geodatabase.IFields
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelateInfos

IRelateInfos getRelateInfos()
                            throws IOException,
                                   AutomationException
Array of relates associated to the table.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A reference to a com.esri.arcgis.carto.IRelateInfos
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasAttachments

boolean isHasAttachments()
                         throws IOException,
                                AutomationException
Indicates if the layer has attachments.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The hasAttachments
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHTMLPopupType

int getHTMLPopupType()
                     throws IOException,
                            AutomationException
Indicates if the layer has HTML popups enabled.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.carto.esriServerHTMLPopupType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDisplayField

String getDisplayField()
                       throws IOException,
                              AutomationException
Primary display field.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The fieldName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOIDFieldName

String getOIDFieldName()
                       throws IOException,
                              AutomationException
The name of the OID Field.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The oIDFieldName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasSubtype

boolean isHasSubtype()
                     throws IOException,
                            AutomationException
Indicates if the layer has Subtype.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The hasSubtype
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportsStatistics

boolean isSupportsStatistics()
                             throws IOException,
                                    AutomationException
Indicates if the table supports calculating statistics on its fields.

Remarks

Limitations:

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The supportsStats
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isSupportsAdvancedQueries

boolean isSupportsAdvancedQueries()
                                  throws IOException,
                                         AutomationException
Indicates if the table supports calculating advanced queries (i.e. ORDER BY clauses) on its fields.

Remarks

When False, anything set to IQueryFilterDefinition2::PrefixClause or IQueryFilterDefinition2::PrefixClause gets igonred by MapServer query functions (QueryData etc.) that because the underlying datasource does not support that.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
The supportsAdvancedQueries
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.