|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infolayer.ocl.OclExpression
Field Summary | |
static java.util.logging.Logger |
SQL_LOGGER
|
static int |
SQL_MATCH
|
static int |
SQL_MAY_GENERALIZE
|
static int |
SQL_MAY_SPECIALIZE
|
Constructor Summary | |
OclExpression()
|
Method Summary | |
abstract OclExpression |
clone(OclExpression[] dep)
required for resolve |
abstract java.lang.Object |
eval(Bindings objects)
|
abstract OclExpression |
getDependency(int i)
required for conversion to sql expression, includes "base" |
abstract int |
getDependencyCount()
required for conversion to sql expression |
java.lang.String |
getName()
|
abstract UmlClassifier |
getType()
|
boolean |
isConstant()
Returns true if this is a constant operation and all dependencies are constant. |
boolean |
isQuery()
Returns always true sinc Ocl Operations are always query operations. |
boolean |
isResolvable(int var)
|
OclExpression |
resolve(Bindings context,
VarDef iterator)
replaces variables with constants from context, except for the iterator. |
OclExpression |
simplify()
|
java.lang.String |
toSql(int mode,
java.util.Map propertyMap)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.util.logging.Logger SQL_LOGGER
public static final int SQL_MAY_GENERALIZE
public static final int SQL_MAY_SPECIALIZE
public static final int SQL_MATCH
Constructor Detail |
public OclExpression()
Method Detail |
public abstract UmlClassifier getType()
getType
in interface Evaluable
public boolean isConstant()
public boolean isQuery()
isQuery
in interface Evaluable
public boolean isResolvable(int var)
public OclExpression simplify()
public java.lang.String getName()
public OclExpression resolve(Bindings context, VarDef iterator)
public abstract OclExpression getDependency(int i)
public abstract OclExpression clone(OclExpression[] dep)
public abstract int getDependencyCount()
public java.lang.String toString()
public java.lang.String toSql(int mode, java.util.Map propertyMap)
public abstract java.lang.Object eval(Bindings objects)
eval
in interface Evaluable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |