Overview | Package | Class | Use | Tree | Serialized | Deprecated | Index | Help
| 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

## com.ibm.able.rules
Class AbleAssertionClause

    java.lang.Object
      com.ibm.able.rules.AbleClause
          com.ibm.able.rules.AbleAssertionClause

All Implemented Interfaces:
  java.io.Serializable

public class AbleAssertionClause
extends AbleClause
implements java.io.Serializable

This class is used to represent an assignment, function call or method invocation used in an assertion rule.

See Also:
  `AbleAssertionRule`, Serialized Form

Field Summary

Fields inherited from class com.ibm.able.rules.AbleClause
`myLhs, myLocation, myOp, myRhs, myRuleRefs`

Constructor Summary
`AbleAssertionClause(AbleLhs theLhs, int theOp, AbleRd theRhs)` Create a new assertion clause with the specified parts.

Method Summary
`java.lang.String` | `arlString()` Return a formal ARL string that describes this clause.
`java.lang.String` | `getTemplateString(java.util.Vector theTemplateVars)` Return a formal ARL string, formatted for insertion text for use by templates, that describes this clause.
`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

### AbleAssertionClause

    public AbleAssertionClause(AbleLhs theLhs,
                               int theOp,
                               AbleRd theRhs)

  Create a new assertion clause with the specified parts.

Parameters:
  `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.

Method Detail

### arlString

    public java.lang.String arlString()

  Return a formal ARL string that describes this clause.

  Specified by:
    `arlString` in class `AbleClause`
  Returns:
    A String that describes this clause in formal rule language.

### xmlString

    public java.lang.String xmlString()

  Return a formal XML string that describes this clause.

  Specified by:
    `xmlString` in class `AbleClause`
  Returns:
    A String that describes this clause in XML.

### getTemplateString

    public java.lang.String getTemplateString(java.util.Vector theTemplateVars)

  Return a formal ARL string, formatted for insertion text for use by templates, that describes this clause.

  Parameters:
    `theTemplateVars` - An ordered list of template vars referenced in the rule
  Returns:
    A formatted template String that describes this clause in formal rule language.

### toString

    public java.lang.String toString()

  Retrieve a string describing (the contents of) the object.

  Overrides:
    `toString` in class `AbleClause`
  Returns:
    A String containing the current contents of the object.

### traceString

    public java.lang.String traceString(int theTraceStringFlavor)

  Retrieve a string describing (the contents of) the object.

  Specified by:
    `traceString` in class `AbleClause`
  Parameters:
    `theTraceStringFlavor` - An Able.TraceStringFlavor value.

  Returns:
    A String containing the current contents of the object.

Overview | Package | Class | Use | Tree | Serialized | Deprecated | Index | Help
| 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

(C) Copyright IBM Corporation 1999, 2005