public class ObjectClassValidator extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IValidation, IValidation2
Description 'Esri ObjectClassValidator object.' 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, IID48469230_851c_11d4_a0c9_00c04f6bdd84, xxDummyIIDd410a9ba_475a_11d2_9932_0000f80372b4| Constructor and Description |
|---|
ObjectClassValidator()
Constructs a ObjectClassValidator using ArcGIS Engine.
|
ObjectClassValidator(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ObjectClassValidator theObjectClassValidator = (ObjectClassValidator) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
addRule(IRule rule)
Adds the rule to the set of associated rules.
|
void |
alterRule(IRule rule)
Alter the existing validation rule.
|
void |
deleteRule(IRule rule)
Deletes the rule from the set of associated rules.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
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.
|
IEnumRule |
getRules()
The rules associated with the class.
|
IEnumRule |
getRulesByField(java.lang.String fieldName)
The rules associated with the attribute.
|
IEnumRule |
getRulesBySubtypeCode(int subtypeCode)
The rules associated with the subtype.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
ISelectionSet |
validate(IQueryFilter selection,
IWorkspace workspace)
Validates the selection.
|
ISelectionSet |
validateSelection(ISelectionSet selection,
IWorkspace workspace)
Validates the selection.
|
ISet |
validateSet(ISet selection)
Validates the set.
|
public ObjectClassValidator()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic ObjectClassValidator(java.lang.Object obj)
throws java.io.IOException
ObjectClassValidator theObjectClassValidator = (ObjectClassValidator) obj;obj to ObjectClassValidator.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.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic IEnumRule getRules() throws java.io.IOException, AutomationException
getRules in interface IValidationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRule getRulesByField(java.lang.String fieldName) throws java.io.IOException, AutomationException
getRulesByField in interface IValidationfieldName - The fieldName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRule getRulesBySubtypeCode(int subtypeCode) throws java.io.IOException, AutomationException
getRulesBySubtypeCode in interface IValidationsubtypeCode - The subtypeCode (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addRule(IRule rule) throws java.io.IOException, AutomationException
addRule in interface IValidationrule - A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteRule(IRule rule) throws java.io.IOException, AutomationException
deleteRule in interface IValidationrule - A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISelectionSet validate(IQueryFilter selection, IWorkspace workspace) throws java.io.IOException, AutomationException
validate in interface IValidationselection - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)workspace - 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 ISelectionSet validateSelection(ISelectionSet selection, IWorkspace workspace) throws java.io.IOException, AutomationException
validateSelection in interface IValidationselection - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)workspace - 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 ISet validateSet(ISet selection) throws java.io.IOException, AutomationException
validateSet in interface IValidationselection - A reference to a com.esri.arcgis.system.ISet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterRule(IRule rule) throws java.io.IOException, AutomationException
alterRule in interface IValidation2rule - A reference to a com.esri.arcgis.geodatabase.IRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.