public class AttributeRule extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRule, IAttributeRule
Description 'Esri attribute rule 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, IID9ed62772_475d_11d2_9932_0000f80372b4, xxDummyIID236f4de4_4761_11d2_9932_0000f80372b4| Constructor and Description |
|---|
AttributeRule()
Constructs a AttributeRule using ArcGIS Engine.
|
AttributeRule(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
AttributeRule theAttributeRule = (AttributeRule) obj; |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
int |
getCategory()
The name associated with the validation rule.
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getDomainName()
The domain name associated with the attribute rule.
|
java.lang.String |
getFieldName()
The field name associated with the attribute rule.
|
java.lang.String |
getHelpstring()
The helpstring associated with the validation rule.
|
int |
getID()
The ID of the validation rule.
|
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.
|
int |
getSubtypeCode()
The subtype code.
|
int |
getType()
The type associated with the validation rule.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
setCategory(int groupBitmap)
The name associated with the validation rule.
|
void |
setDomainName(java.lang.String name)
The domain name associated with the attribute rule.
|
void |
setFieldName(java.lang.String name)
The field name associated with the attribute rule.
|
void |
setHelpstring(java.lang.String helpstring)
The helpstring associated with the validation rule.
|
void |
setID(int iD)
The ID of the validation rule.
|
void |
setSubtypeCode(int value)
The subtype code.
|
boolean |
validate(IRow row,
java.lang.String[] errorMessage)
Validates the rule.
|
public AttributeRule()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic AttributeRule(java.lang.Object obj)
throws java.io.IOException
AttributeRule theAttributeRule = (AttributeRule) obj;obj to AttributeRule.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 int getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface IRulejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setCategory(int groupBitmap)
throws java.io.IOException,
AutomationException
setCategory in interface IRulegroupBitmap - The groupBitmap (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getHelpstring()
throws java.io.IOException,
AutomationException
getHelpstring in interface IRulejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setHelpstring(java.lang.String helpstring)
throws java.io.IOException,
AutomationException
setHelpstring in interface IRulehelpstring - The helpstring (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getID()
throws java.io.IOException,
AutomationException
getID in interface IRulejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setID(int iD)
throws java.io.IOException,
AutomationException
setID in interface IRuleiD - The iD (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getType()
throws java.io.IOException,
AutomationException
getType in interface IRulejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getDomainName()
throws java.io.IOException,
AutomationException
getDomainName in interface IAttributeRulejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDomainName(java.lang.String name)
throws java.io.IOException,
AutomationException
setDomainName in interface IAttributeRulename - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getFieldName()
throws java.io.IOException,
AutomationException
getFieldName in interface IAttributeRulejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFieldName(java.lang.String name)
throws java.io.IOException,
AutomationException
setFieldName in interface IAttributeRulename - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSubtypeCode()
throws java.io.IOException,
AutomationException
getSubtypeCode in interface IAttributeRulejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSubtypeCode(int value)
throws java.io.IOException,
AutomationException
setSubtypeCode in interface IAttributeRulevalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean validate(IRow row, java.lang.String[] errorMessage) throws java.io.IOException, AutomationException
validate in interface IAttributeRulerow - A reference to a com.esri.arcgis.geodatabase.IRow (in)errorMessage - The errorMessage (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.