org.infolayer.ocl
Class CollectionLiteralExp
java.lang.Object
org.infolayer.ocl.OclExpression
org.infolayer.ocl.CollectionLiteralExp
- All Implemented Interfaces:
- Evaluable
- public class CollectionLiteralExp
- extends OclExpression
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CollectionLiteralExp
public CollectionLiteralExp(int collectionType,
UmlClassifier elementType,
java.util.List eval,
java.util.BitSet intervals)
eval
public java.lang.Object eval(Bindings bindings)
- Specified by:
eval
in interface Evaluable
- Specified by:
eval
in class OclExpression
isConstantOperation
public boolean isConstantOperation()
getDependencyCount
public int getDependencyCount()
- Description copied from class:
OclExpression
- required for conversion to sql expression
- Specified by:
getDependencyCount
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
getType
public UmlClassifier getType()
- Specified by:
getType
in interface Evaluable
- Specified by:
getType
in class OclExpression
clone
public OclExpression clone(OclExpression[] nd)
- Description copied from class:
OclExpression
- required for resolve
- Specified by:
clone
in class OclExpression
toString
public java.lang.String toString()
- Overrides:
toString
in class OclExpression