Operator
Comparable
Implementation of the Variable operator.
The variable operator defines a place-holder
for a variable that will be substituted during
unification.
Input 1: A String (or Expression returning a String) that is the name of the variable.
Input 2: A Class (or Expression returning a Class) that is the type of the variable.
Object
ComplexExpressionImpl
Operator
Variable
Cloneable
, Comparable
, Expression
, Serializable
Constructor Summary |
|
Method Summary |
public int | |
public |
|
public |
|
public |
|
public |
|
public boolean |
|
protected boolean |
|
public void |
Methods from com.bea.p13n.expression.operator. |
|
Methods from com.bea.p13n.expression.internal. |
addListener, addSubExpression, clearCache, clone, createProxyExpression, equals, getCachedValue, getParent, getSource, getSubExpression, getSubExpressionCount, getUserData, hashCode, isCached, isCacheEnabled, notifyListeners, removeAllSubExpressions, removeListener, removeSubExpression, removeSubExpression, setCachedValue, setCacheEnabled, setParent, setSource, setSubExpression, setUserData, toString, write |
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface java.lang. |
compareTo |
Methods from interface com.bea.p13n.expression. |
|
Constructor Detail |
public Variable()
public Variable(String
name,Class
type)
Method Detail |
public int compareTo(Object
object)
throwsClassCastException
ClassCastException
public Class
getClassType()
Returns the class type of the value contained in this.
public String
getName()
Returns the name of this.
public Class
[] getParameterSignature()
Returns the parameter signature of this
Class
that has parameter signature.
public Object
getValue()
Returns the value stored in this.
public boolean isBound()
true
If this is bound to a value
otherwise false
. protected boolean isEqualitySubExpression(int index)
public void setValue(Object
object)
Stores the given value in this.