|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides access to members that return information about rules.
IRule interface is used to establish rules that object classes must adhere to in order for the map to be considered a valid map. There are four types of rules that can be created: Attribute Domains, Connectivity Rules, Relationship Rules, and Custom Rules.
IRule is the interface on a Rule abstract class used to get and set the properties on one of the three types of rule objects (Attribute Rule, Relationship Rule, Connectivity Rule). For example, you can set/get the category, helpstring, and id for the rule and you can also get the esriRuleType from a esriRuleType object. You would use IRule when you want to create rules for a particular object class so that it can be validated.
| Method Summary | |
int |
getCategory()
The name associated with the validation rule. |
java.lang.String |
getHelpstring()
The helpstring associated with the validation rule. |
int |
getID()
The ID of the validation rule. |
int |
getType()
The type associated with the validation rule. |
void |
setCategory(int groupBitmap)
The name associated with the validation rule. |
void |
setHelpstring(java.lang.String helpstring)
The helpstring associated with the validation rule. |
void |
setID(int iD)
The ID of the validation rule. |
| Method Detail |
public int getCategory()
throws java.io.IOException,
AutomationException
Category sets the name associated with the rule. Not currently used by any ArcGIS application.
java.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
groupBitmap - 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
Helpstring property sets the helpstring for the given rule. Not currently used by any ArcGIS application.
java.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
helpstring - 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
java.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
iD - 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
java.io.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 | |||||||||