|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.AttributeRule
public class AttributeRule
ESRI attribute rule object.
| Constructor Summary | |
|---|---|
AttributeRule()
Constructs a AttributeRule using ArcGIS Engine. |
|
AttributeRule(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AttributeRule theAttributeRule = (AttributeRule) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getCategory()
The name associated with the validation rule. |
static String |
getClsid()
getClsid. |
String |
getDomainName()
The domain name associated with the attribute rule. |
String |
getFieldName()
The field name associated with the attribute rule. |
String |
getHelpstring()
The helpstring associated with the validation rule. |
int |
getID()
The ID of the validation rule. |
int |
getSubtypeCode()
The subtype code. |
int |
getType()
The type associated with the validation rule. |
int |
hashCode()
the hashcode for this object |
void |
setCategory(int groupBitmap)
The name associated with the validation rule. |
void |
setDomainName(String name)
The domain name associated with the attribute rule. |
void |
setFieldName(String name)
The field name associated with the attribute rule. |
void |
setHelpstring(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,
String[] errorMessage)
Validates the rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public AttributeRule()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public AttributeRule(Object obj)
throws IOException
AttributeRule theAttributeRule = (AttributeRule) obj;
obj to AttributeRule.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public int getCategory()
throws IOException,
AutomationException
Category sets the name associated with the rule. Not currently used by any ArcGIS application.
getCategory in interface IRuleIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setCategory(int groupBitmap)
throws IOException,
AutomationException
setCategory in interface IRulegroupBitmap - The groupBitmap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getHelpstring()
throws IOException,
AutomationException
Helpstring property sets the helpstring for the given rule. Not currently used by any ArcGIS application.
getHelpstring in interface IRuleIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setHelpstring(String helpstring)
throws IOException,
AutomationException
setHelpstring in interface IRulehelpstring - The helpstring (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getID()
throws IOException,
AutomationException
This property will always return -1 for rules in geodatabases created in versions of ArcGIS later than 9.3.1.
getID in interface IRuleIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setID(int iD)
throws IOException,
AutomationException
setID in interface IRuleiD - The iD (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getType()
throws IOException,
AutomationException
getType in interface IRuleIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getDomainName()
throws IOException,
AutomationException
getDomainName in interface IAttributeRuleIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDomainName(String name)
throws IOException,
AutomationException
setDomainName in interface IAttributeRulename - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getFieldName()
throws IOException,
AutomationException
getFieldName in interface IAttributeRuleIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFieldName(String name)
throws IOException,
AutomationException
setFieldName in interface IAttributeRulename - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getSubtypeCode()
throws IOException,
AutomationException
getSubtypeCode in interface IAttributeRuleIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSubtypeCode(int value)
throws IOException,
AutomationException
setSubtypeCode in interface IAttributeRulevalue - The value (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean validate(IRow row,
String[] errorMessage)
throws IOException,
AutomationException
validate in interface IAttributeRulerow - A reference to a com.esri.arcgis.geodatabase.IRow (in)errorMessage - The errorMessage (out: use single element array)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||