|
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.AbleClause
com.ibm.able.rules.AbleConsequentClause
This class represents an action (assignment, function call or method invocation) in a rule. For example, "... then risk = high".
| Field Summary |
|---|
| Fields inherited from class com.ibm.able.rules.AbleClause |
|---|
myLhs, myLocation, myOp, myRhs, myRuleRefs |
| Constructor Summary | |
|---|---|
AbleConsequentClause(AbleExpression theExpression)
Create a new consequent clause based on an Expression. |
|
AbleConsequentClause(AbleLhs theLhs,
int theOp,
AbleRd theRhs)
Create a new consequent clause with the specified parts. |
|
| Method Summary | |
|---|---|
java.lang.String |
arlString()
Return a formal ARL string that describes this clause. |
java.lang.String |
armlString()
Return a formal XML string that describes this clause. |
AbleConsequentClause |
createMatchClause(java.util.Hashtable replacementVars)
Create a duplicate of this clause using replacement vars |
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 that describes this clause. |
| Methods inherited from class com.ibm.able.rules.AbleClause |
|---|
addRuleRef, equals, getLhs, getLhsReferent, getLocation, getOp, getOpAsString, getReferent, getReferents, getRhs, getRhsReferent, getRule, getRuleRefs, hashCode, setLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbleConsequentClause(AbleLhs theLhs,
int theOp,
AbleRd theRhs)
theLhs - The left-hand side of the clause.
theOp - A relational operator with which to evaluate the two
sides, or operands, of this clause. The value must be
an AbleData.<Operator> assignment constant.
theRhs - The right-hand side of the clause.
public AbleConsequentClause(AbleExpression theExpression)
theExpression - The action or operation to be used to create the clause.
| Method Detail |
public AbleConsequentClause createMatchClause(java.util.Hashtable replacementVars)
public java.lang.String arlString()
arlString in class AbleClausepublic java.lang.String xmlString()
xmlString in class AbleClausepublic java.lang.String armlString()
public java.lang.String getTemplateString(java.util.Vector theTemplateVars)
theTemplateVars - An ordered list of template variables referenced by this rule.
AbleRuleTemplatepublic java.lang.String toString()
toString in class AbleClausepublic java.lang.String traceString(int theTraceStringFlavor)
traceString in class AbleClausetheTraceStringFlavor - 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 | |||||||||||