|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.ibm.able.rules.AbleRule
com.ibm.able.rules.AbleAssertionRule
This class represents a rule comprised of a single assignment statement, function call or method invocation. It contains a single assertion clause.
AbleAssertionClause,
Serialized Form| Field Summary | |
|---|---|
protected AbleAssertionClause |
myAssertion
myAssertion is the assertion clause representing an assignment, function call, or method invocation. |
| Fields inherited from class com.ibm.able.rules.AbleRule |
|---|
myBooleanTruth, myBreakpoint, myComment, myEnabled, myFinalFlag, myFiredCount, myFiredFlag, myId, myLabel, myLocation, myPreConditions, myPriority, myPrompt, myProperties, myRdRefs, myRuleBlock, myRuleSet, myTemplateFlag, myTemplateName, myTemplateValues, myWrRefs, PriorityDefault, RuleIdInitial |
| Constructor Summary | |
|---|---|
AbleAssertionRule(int theId,
java.lang.String theLabel,
AbleAssertionClause theAssertion,
AbleRuleSet theRuleSet)
Create a new assertion rule with a default priority. |
|
AbleAssertionRule(int theId,
java.lang.String theLabel,
AbleRd thePriority,
AbleAssertionClause theAssertion,
AbleRuleSet theRuleSet)
Create a new assertion rule with the specified priority. |
|
AbleAssertionRule(java.lang.String theLabel,
AbleAssertionClause theAssertion)
Create a new assertion rule with a default priority. |
|
AbleAssertionRule(java.lang.String theLabel,
AbleRd thePriority,
AbleAssertionClause theAssertion)
Create a new assertion rule with the specified priority. |
|
| Method Summary | |
|---|---|
java.lang.String |
arlString()
Return a formal Able Rule Language (ARL) string. |
java.lang.String |
armlString()
Return a formal XML string. |
AbleAssertionClause |
getAssertion()
Retrieve the rule's assertion clause, if any. |
java.lang.String |
getTemplateString(java.util.Vector theTemplateVars)
Retrieve a text format string for use by rule templates. |
java.lang.String |
toString()
Retrieve a string describing (the contents of) the object. |
java.lang.String |
traceString(int theTraceStringFlavor)
Retrieve a string describing (the contents of) the object. |
java.lang.String |
xmlString()
Return a formal XML string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected AbleAssertionClause myAssertion
| Constructor Detail |
public AbleAssertionRule(java.lang.String theLabel,
AbleAssertionClause theAssertion)
theLabel - The unique label, or name, of this rule.
theAssertion - A single assignment statement that defines this
assertion rule.
public AbleAssertionRule(java.lang.String theLabel,
AbleRd thePriority,
AbleAssertionClause theAssertion)
theLabel - The unique label, or name, of this rule.
thePriority - The priority of this rule.
theAssertion - A single assignment statement that defines this
assertion rule.
public AbleAssertionRule(int theId,
java.lang.String theLabel,
AbleAssertionClause theAssertion,
AbleRuleSet theRuleSet)
theId - The unique Id of this rule.
theLabel - The unique label, or name, of this rule.
theAssertion - A single assignment statement that defines this
assertion rule.
theRuleSet - The ruleset to which this rule belongs.
public AbleAssertionRule(int theId,
java.lang.String theLabel,
AbleRd thePriority,
AbleAssertionClause theAssertion,
AbleRuleSet theRuleSet)
theId - The unique Id of this rule.
theLabel - The unique label, or name, of this rule.
thePriority - The priority of this rule.
theAssertion - A single assignment statement that defines this
assertion rule.
theRuleSet - The ruleset to which this rule belongs.
| Method Detail |
public final AbleAssertionClause getAssertion()
public java.lang.String arlString()
arlString in class AbleRulepublic java.lang.String xmlString()
xmlString in class AbleRulepublic java.lang.String armlString()
armlString in class AbleRule
public java.lang.String getTemplateString(java.util.Vector theTemplateVars)
throws AbleDataException
getTemplateString in class AbleRuletheTemplateVars - An ordered list of template variables referenced by this rule.
AbleDataExceptionAbleRuleTemplatepublic java.lang.String toString()
toString in class AbleRulepublic java.lang.String traceString(int theTraceStringFlavor)
traceString in class AbleRuletheTraceStringFlavor - An Able.TraceStringFlavor value.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||