org.infolayer.ocl
Class LetExp
java.lang.Object
org.infolayer.ocl.OclExpression
org.infolayer.ocl.LetExp
- All Implemented Interfaces:
- Evaluable
- public class LetExp
- extends OclExpression
Local variable definition and assignment.
The "expression" member contains the sub-expression where the new
variable is used. Since the variable indices does not overlap, ther
is no influence on resolvability.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getType
public UmlClassifier getType()
- Specified by:
getType
in interface Evaluable
- Specified by:
getType
in class OclExpression
eval
public java.lang.Object eval(Bindings bindings)
- Specified by:
eval
in interface Evaluable
- Specified by:
eval
in class OclExpression
getDependency
public OclExpression getDependency(int i)
- Description copied from class:
OclExpression
- required for conversion to sql expression, includes "base"
- Specified by:
getDependency
in class OclExpression
clone
public OclExpression clone(OclExpression[] dep)
- Description copied from class:
OclExpression
- required for resolve
- Specified by:
clone
in class OclExpression
getDependencyCount
public int getDependencyCount()
- Description copied from class:
OclExpression
- required for conversion to sql expression
- Specified by:
getDependencyCount
in class OclExpression