|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRule
Provides access to members that return information about rules.
The IRule interface is used to configure and access rules that object classes must adhere to be successfully validated. There are four types of rules that can be created: attribute rules, connectivity rules (edge and junction), relationship rules, and topology rules.
The IRule interface is used to get and set the common properties for all rule types. For example, you can set or get the category, help string, and ID for the rule and you can also get an esriRuleType value, representing the rule's type. 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. |
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(String helpstring)
The helpstring associated with the validation rule. |
void |
setID(int iD)
The ID of the validation rule. |
Method Detail |
---|
int getCategory() throws IOException, AutomationException
Category sets the name associated with the rule. Not currently used by any ArcGIS application.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCategory(int groupBitmap) throws IOException, AutomationException
groupBitmap
- The groupBitmap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getHelpstring() throws IOException, AutomationException
Helpstring property sets the helpstring for the given rule. Not currently used by any ArcGIS application.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHelpstring(String helpstring) throws IOException, AutomationException
helpstring
- The helpstring (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setID(int iD) throws IOException, AutomationException
iD
- The iD (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getType() throws IOException, AutomationException
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 |