|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geodatabase.AttributeRule
ESRI attribute rule object.
| Constructor Summary | |
AttributeRule()
Constructs a AttributeRule using ArcGIS Engine. |
|
AttributeRule(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compare this object with another |
IAttributeRule |
getAsIAttributeRule()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRule |
getAsIRule()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
int |
getCategory()
The name associated with the validation rule. |
static java.lang.String |
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. |
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(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. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AttributeRule()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public AttributeRule(java.lang.Object obj)
throws java.io.IOException
obj to AttributeRule. AttributeRule theAttributeRule = (AttributeRule) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IRule getAsIRule()
public IAttributeRule getAsIAttributeRule()
public boolean equals(java.lang.Object o)
public int hashCode()
public int getCategory()
throws java.io.IOException,
AutomationException
IRuleCategory sets the name associated with the rule. Not currently used by any ArcGIS application.
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
IRule
setCategory in interface IRulegroupBitmap - The groupBitmap (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getHelpstring()
throws java.io.IOException,
AutomationException
IRuleHelpstring property sets the helpstring for the given rule. Not currently used by any ArcGIS application.
getHelpstring in interface IRuleAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setHelpstring(java.lang.String helpstring)
throws java.io.IOException,
AutomationException
IRule
setHelpstring in interface IRulehelpstring - The helpstring (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getID()
throws java.io.IOException,
AutomationException
IRule
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
IRule
setID in interface IRuleiD - The iD (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public int getType()
throws java.io.IOException,
AutomationException
IRule
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
IAttributeRule
getDomainName in interface IAttributeRuleAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setDomainName(java.lang.String name)
throws java.io.IOException,
AutomationException
IAttributeRule
setDomainName in interface IAttributeRulename - The name (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public java.lang.String getFieldName()
throws java.io.IOException,
AutomationException
IAttributeRule
getFieldName in interface IAttributeRuleAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setFieldName(java.lang.String name)
throws java.io.IOException,
AutomationException
IAttributeRule
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
IAttributeRule
getSubtypeCode in interface IAttributeRuleAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void setSubtypeCode(int value)
throws java.io.IOException,
AutomationException
IAttributeRule
setSubtypeCode in interface IAttributeRulevalue - The value (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public boolean validate(IRow row,
java.lang.String[] errorMessage)
throws java.io.IOException,
AutomationException
IAttributeRule
validate in interface IAttributeRulerow - A reference to a com.esri.arcgis.geodatabase.IRow (in)errorMessage - The errorMessage (out: use single element array)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||