com.esri.arcgis.geodatabase
Class FieldChecker

java.lang.Object
  extended by com.esri.arcgis.geodatabase.FieldChecker
All Implemented Interfaces:
IFieldChecker, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class FieldChecker
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IFieldChecker

COM Class 'FieldChecker'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'Checks for errors in Field Name.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IFieldChecker
IID, IID7370629b_3e8f_11d2_aae0_00c04fa33c20, xxDummy
 
Constructor Summary
FieldChecker()
          Constructs a FieldChecker using ArcGIS Engine.
FieldChecker(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FieldChecker theFieldChecker = (FieldChecker) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 IWorkspace getInputWorkspace()
          Input workspace of the fieldchecker.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 ISqlKeywordDictionary getValidateDictionary()
          Fieldchecker dictionary.
 IWorkspace getValidateWorkspace()
          Workspace of the fieldchecker.
 int hashCode()
          the hashcode for this object
 void release()
          Release a FieldChecker.
 void setInputWorkspace(IWorkspace inputWorkspace)
          Input workspace of the fieldchecker.
 void setValidateDictionaryByRef(ISqlKeywordDictionary validateDictionary)
          Fieldchecker dictionary.
 void setValidateWorkspaceByRef(IWorkspace validateWorkspace)
          Workspace of the fieldchecker.
 void validate(IFields inputField, IEnumFieldError[] error, IFields[] fixedFields)
          Checks the validity of a list of field names.
 void validateField(int fieldIndex, IFields inputFields, IEnumFieldError[] error, IFields[] fixedFields)
          Checks the validity of a field.
 int validateTableName(java.lang.String tableName, java.lang.String[] fixedName)
          Checks the validity of a table name.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldChecker

public FieldChecker()
             throws java.io.IOException,
                    java.net.UnknownHostException
Constructs a FieldChecker using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

FieldChecker

public FieldChecker(java.lang.Object obj)
             throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FieldChecker theFieldChecker = (FieldChecker) obj;

Construct a FieldChecker using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to FieldChecker.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a FieldChecker.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

validate

public void validate(IFields inputField,
                     IEnumFieldError[] error,
                     IFields[] fixedFields)
              throws java.io.IOException,
                     AutomationException
Checks the validity of a list of field names.

Specified by:
validate in interface IFieldChecker
Parameters:
inputField - A reference to a com.esri.arcgis.geodatabase.IFields (in)
error - A reference to a com.esri.arcgis.geodatabase.IEnumFieldError (out: use single element array)
fixedFields - A reference to a com.esri.arcgis.geodatabase.IFields (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateTableName

public int validateTableName(java.lang.String tableName,
                             java.lang.String[] fixedName)
                      throws java.io.IOException,
                             AutomationException
Checks the validity of a table name.

Specified by:
validateTableName in interface IFieldChecker
Parameters:
tableName - The tableName (in)
fixedName - The fixedName (out: use single element array)
Returns:
The error
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validateField

public void validateField(int fieldIndex,
                          IFields inputFields,
                          IEnumFieldError[] error,
                          IFields[] fixedFields)
                   throws java.io.IOException,
                          AutomationException
Checks the validity of a field.

Specified by:
validateField in interface IFieldChecker
Parameters:
fieldIndex - The fieldIndex (in)
inputFields - A reference to a com.esri.arcgis.geodatabase.IFields (in)
error - A reference to a com.esri.arcgis.geodatabase.IEnumFieldError (out: use single element array)
fixedFields - A reference to a com.esri.arcgis.geodatabase.IFields (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValidateWorkspace

public IWorkspace getValidateWorkspace()
                                throws java.io.IOException,
                                       AutomationException
Workspace of the fieldchecker.

Specified by:
getValidateWorkspace in interface IFieldChecker
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValidateWorkspaceByRef

public void setValidateWorkspaceByRef(IWorkspace validateWorkspace)
                               throws java.io.IOException,
                                      AutomationException
Workspace of the fieldchecker.

Specified by:
setValidateWorkspaceByRef in interface IFieldChecker
Parameters:
validateWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getInputWorkspace

public IWorkspace getInputWorkspace()
                             throws java.io.IOException,
                                    AutomationException
Input workspace of the fieldchecker.

Specified by:
getInputWorkspace in interface IFieldChecker
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setInputWorkspace

public void setInputWorkspace(IWorkspace inputWorkspace)
                       throws java.io.IOException,
                              AutomationException
Input workspace of the fieldchecker.

Specified by:
setInputWorkspace in interface IFieldChecker
Parameters:
inputWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValidateDictionary

public ISqlKeywordDictionary getValidateDictionary()
                                            throws java.io.IOException,
                                                   AutomationException
Fieldchecker dictionary.

Specified by:
getValidateDictionary in interface IFieldChecker
Returns:
A reference to a com.esri.arcgis.geodatabase.ISqlKeywordDictionary
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setValidateDictionaryByRef

public void setValidateDictionaryByRef(ISqlKeywordDictionary validateDictionary)
                                throws java.io.IOException,
                                       AutomationException
Fieldchecker dictionary.

Specified by:
setValidateDictionaryByRef in interface IFieldChecker
Parameters:
validateDictionary - A reference to a com.esri.arcgis.geodatabase.ISqlKeywordDictionary (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.