com.esri.arcgis.geodatabase
Interface IFields2

All Superinterfaces:
IFields, Serializable
All Known Implementing Classes:
Fields

public interface IFields2
extends IFields, Serializable

Provides access to members that return information about the fields.

Remarks

Some field names, although valid in ArcGIS, conflict with internal properties used by ArcSDE for storing geometries. A table created using one of these field names will have the field name qualified in the table to avoid potential ambiguity. A qualified field name is returned as "USERNAME.TABLENAME.FIELDNAME" by Oracle and "DATABASE.USERNAME.TABLENAME.FIELDNAME" by SQL Server.

The following 14 field names will be qualified in ArcSDE: FID, AREA, LEN, POINTS, NUMOFPTS, ENTITY, EMINX, EMINY, EMAXX, EMAXY, EMINZ, EMAXZ, MIN_MEASURE and MAX_MEASURE.

The IField.Name property of these fields will be qualified when retrieved from the dataset’s fields collection. Attempting to retrieve the index of a qualified field using IClass.FindField or IFields.FindField requires the developer to qualify the field name; IFields2.FindFieldIgnoreQualification will find a field based on it’s "given" name, regardless of whether or not it’s qualified.

Product Availability

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


Method Summary
 void findFieldIgnoreQualification(ISQLSyntax sqlSyntax, String name, int[] index)
          Finds the index of a field given a particular SQLSyntax workspace.
 
Methods inherited from interface com.esri.arcgis.geodatabase.IFields
findField, findFieldByAliasName, getField, getFieldCount
 

Method Detail

findFieldIgnoreQualification

void findFieldIgnoreQualification(ISQLSyntax sqlSyntax,
                                  String name,
                                  int[] index)
                                  throws IOException,
                                         AutomationException
Finds the index of a field given a particular SQLSyntax workspace.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
sqlSyntax - A reference to a com.esri.arcgis.geodatabase.ISQLSyntax (in)
name - The name (in)
index - The index (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.