public class FieldChecker extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IFieldChecker
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 =
IID, IID7370629b_3e8f_11d2_aae0_00c04fa33c20, xxDummy
Constructor and Description |
---|
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; |
Modifier and Type | Method and Description |
---|---|
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()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
ISqlKeywordDictionary |
getValidateDictionary()
Fieldchecker dictionary.
|
IWorkspace |
getValidateWorkspace()
Workspace of the fieldchecker.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
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.
|
public FieldChecker() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic FieldChecker(java.lang.Object obj) throws java.io.IOException
FieldChecker theFieldChecker = (FieldChecker) obj;
obj
to FieldChecker
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void validate(IFields inputField, IEnumFieldError[] error, IFields[] fixedFields) throws java.io.IOException, AutomationException
validate
in interface IFieldChecker
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int validateTableName(java.lang.String tableName, java.lang.String[] fixedName) throws java.io.IOException, AutomationException
validateTableName
in interface IFieldChecker
tableName
- The tableName (in)fixedName
- The fixedName (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void validateField(int fieldIndex, IFields inputFields, IEnumFieldError[] error, IFields[] fixedFields) throws java.io.IOException, AutomationException
validateField
in interface IFieldChecker
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)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IWorkspace getValidateWorkspace() throws java.io.IOException, AutomationException
getValidateWorkspace
in interface IFieldChecker
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setValidateWorkspaceByRef(IWorkspace validateWorkspace) throws java.io.IOException, AutomationException
setValidateWorkspaceByRef
in interface IFieldChecker
validateWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IWorkspace getInputWorkspace() throws java.io.IOException, AutomationException
getInputWorkspace
in interface IFieldChecker
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setInputWorkspace(IWorkspace inputWorkspace) throws java.io.IOException, AutomationException
setInputWorkspace
in interface IFieldChecker
inputWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ISqlKeywordDictionary getValidateDictionary() throws java.io.IOException, AutomationException
getValidateDictionary
in interface IFieldChecker
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setValidateDictionaryByRef(ISqlKeywordDictionary validateDictionary) throws java.io.IOException, AutomationException
setValidateDictionaryByRef
in interface IFieldChecker
validateDictionary
- A reference to a com.esri.arcgis.geodatabase.ISqlKeywordDictionary (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.