# com.bea.p13n.expression.operator
Operator Class

public abstract class Operator
extends `ComplexExpressionImpl`

Base class for all Operators in the expression package.

Hierarchy
  `Object`
  `ComplexExpressionImpl`
  `Operator`

All Implemented Interfaces
  `Cloneable`, `Expression`, `Serializable`

Direct Known Subclasses
  `ClassForName`, `ClassGetName`, `ClassNewInstance`, `CollectionOperator`, `ComparativeOperator`, `If`, `Instanceof`, `LogicalOperator`, `MathOperator`, `MethodCall`, `ObjectGetClass`, `ObjectHashCode`, `ObjectToString`, `PropertyRef`, `PropertyRef`, `StringOperator`, `SystemCurrentTimeMillis`, `SystemGetProperty`, `Variable`

## Constructor Summary

Operator() A default constructor that can used by multi-operand operators.
Operator(`Object` lhs, `Object` rhs) A constructor to be used by binary operators.
Operator(`Object` unaryOperand) A constructor to be used by unary operators.

## Method Summary

`protected `Object`` | `leftHandSide`() Returns left hand side operand of a binary operator.
`protected `Object`` | `operand`() Returns unary operand of an unary operator.
`protected `Object`` | `rightHandSide`() Returns right hand side operand of a binary operator.

Methods from `com.bea.p13n.expression.internal.`ComplexExpressionImpl``
`addListener, addSubExpression, clearCache, clone, createProxyExpression, equals, getCachedValue, getParent, getSource, getSubExpression, getSubExpressionCount, getUserData, hashCode, isCached, isCacheEnabled, isEqualitySubExpression, notifyListeners, removeAllSubExpressions, removeListener, removeSubExpression, removeSubExpression, setCachedValue, setCacheEnabled, setParent, setSource, setSubExpression, setUserData, toString, write`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.p13n.expression.`Expression``
``accept`, `addListener`, `addSubExpression`, `clearCache`, `clone`, `getCachedValue`, `getParameterSignature`, `getParent`, `getSource`, `getSubExpression`, `getSubExpressionCount`, `getUserData`, `isCached`, `isCacheEnabled`, `removeAllSubExpressions`, `removeListener`, `removeSubExpression`, `removeSubExpression`, `setCachedValue`, `setCacheEnabled`, `setSource`, `setSubExpression`, `setUserData`, `write``

## Constructor Detail

### Operator

    protected Operator()

  A default constructor that can used by multi-operand operators.

### Operator

    protected Operator(Object lhs,
                       Object rhs)

  A constructor to be used by binary operators.

### Operator

    protected Operator(Object unaryOperand)

  A constructor to be used by unary operators.

## Method Detail

### leftHandSide() Method

    protected Object leftHandSide()

Returns left hand side operand of a binary operator.

#### Returns

An `Object` representing a left hand side operand of a binary operator.

### operand() Method

    protected Object operand()

Returns unary operand of an unary operator.

#### Returns

An `Object` representing an operand of an unary operator.

### rightHandSide() Method

    protected Object rightHandSide()

Returns right hand side operand of a binary operator.

#### Returns

An `Object` representing a right hand side operand of a binary operator.