Rule
Inheritance: java.lang.Object
public class Rule
Represents a single validation rule in a diagram validation rule set.
Constructors
| Constructor | Description |
|---|---|
| Rule() | Constructor. |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getCategory() | Specifies the text displayed in the Category column of the Issues window. |
| getClass() | |
| getDescription() | the description of the validation rule that appears in the user interface. |
| getID() | Specifies the unique identifier of the validation rule. |
| getIgnored() | Specifies whether the validation rule is currently ignored. |
| getNameU() | Specifies the universal name of the validation rule. |
| getRuleFilter() | Specifies the logical expression that determines whether the validation rule should be applied to a target object. |
| getRuleTarget() | Specifies the type of object to which the validation rule applies. |
| getRuleTest() | Specifies the logical expression that determines whether the target object satisfies the validation rule |
| hashCode() | |
| notify() | |
| notifyAll() | |
| setCategory(String value) | For the description of this property, please see getCategory() |
| setDescription(String value) | For the description of this property, please see getDescription() |
| setID(long value) | For the description of this property, please see getID() |
| setIgnored(int value) | For the description of this property, please see getIgnored() |
| setNameU(String value) | For the description of this property, please see getNameU() |
| setRuleFilter(RuleValue value) | For the description of this property, please see getRuleFilter() |
| setRuleTarget(int value) | For the description of this property, please see getRuleTarget() |
| setRuleTest(RuleValue value) | For the description of this property, please see getRuleTest() |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
Rule()
public Rule()
Constructor.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getCategory()
public String getCategory()
Specifies the text displayed in the Category column of the Issues window. Default is an empty string.
Returns: java.lang.String
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getDescription()
public String getDescription()
the description of the validation rule that appears in the user interface. Default is “Unknown”.
Returns: java.lang.String
getID()
public long getID()
Specifies the unique identifier of the validation rule.
Returns: long
getIgnored()
public int getIgnored()
Specifies whether the validation rule is currently ignored. Default is False.
Returns: int
getNameU()
public String getNameU()
Specifies the universal name of the validation rule.
Returns: java.lang.String
getRuleFilter()
public RuleValue getRuleFilter()
Specifies the logical expression that determines whether the validation rule should be applied to a target object.
Returns: RuleValue
getRuleTarget()
public int getRuleTarget()
Specifies the type of object to which the validation rule applies.
Returns: int
getRuleTest()
public RuleValue getRuleTest()
Specifies the logical expression that determines whether the target object satisfies the validation rule
Returns: RuleValue
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCategory(String value)
public void setCategory(String value)
For the description of this property, please see getCategory()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
setDescription(String value)
public void setDescription(String value)
For the description of this property, please see getDescription()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
setID(long value)
public void setID(long value)
For the description of this property, please see getID()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | long |
setIgnored(int value)
public void setIgnored(int value)
For the description of this property, please see getIgnored()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setNameU(String value)
public void setNameU(String value)
For the description of this property, please see getNameU()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
setRuleFilter(RuleValue value)
public void setRuleFilter(RuleValue value)
For the description of this property, please see getRuleFilter()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | RuleValue |
setRuleTarget(int value)
public void setRuleTarget(int value)
For the description of this property, please see getRuleTarget()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setRuleTest(RuleValue value)
public void setRuleTest(RuleValue value)
For the description of this property, please see getRuleTest()
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | RuleValue |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |