|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectaminePlatform.engines.synergy.bindingContext.SynergyBindingContext
Constructor Summary | |
SynergyBindingContext()
|
Method Summary | |
void |
clearCGConstrs()
Clear the set of constraints that was formed during a CG unification |
CGOperations |
getCGOperations()
|
ObjectWithBindInf |
getValue(java.lang.Object obj,
java.lang.Object bindInf)
getValue for the specified object obj according to its binding information. |
boolean |
isBoundVariable(java.lang.Object obj,
java.lang.Object bindInf)
|
boolean |
isFreeVariable(java.lang.Object obj,
java.lang.Object bindInf)
|
void |
removeCGUnifConstrs()
remove the binding that occurred during unification of two CGs |
void |
setCGUnification(boolean cgUnification)
Set the value for the boolean attribute that indicate if this binding context is concerned by CG unification |
void |
setValue(java.lang.Object variable,
java.lang.Object bindInfVar,
java.lang.Object value,
java.lang.Object bindInf)
Associate in the specified activation record bindInf the association between variable and value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SynergyBindingContext()
Method Detail |
public ObjectWithBindInf getValue(java.lang.Object obj, java.lang.Object bindInf)
getValue
in interface BindingContext
obj
- bindInf
-
public void setValue(java.lang.Object variable, java.lang.Object bindInfVar, java.lang.Object value, java.lang.Object bindInf)
setValue
in interface BindingContext
variable
- A variablebindInfVar
- not used in this casevalue
- An object to consider as a value for variablebindInf
- Binding Information which correspond to an ActivationRecordpublic CGOperations getCGOperations()
getCGOperations
in interface BindingContext
public boolean isFreeVariable(java.lang.Object obj, java.lang.Object bindInf)
isFreeVariable
in interface BindingContext
public boolean isBoundVariable(java.lang.Object obj, java.lang.Object bindInf)
isBoundVariable
in interface BindingContext
public void setCGUnification(boolean cgUnification)
setCGUnification
in interface BindingContext
cgUnification
- true to indicate the occurrence of CG unification and
false otherwisepublic void removeCGUnifConstrs()
removeCGUnifConstrs
in interface BindingContext
public void clearCGConstrs()
clearCGConstrs
in interface BindingContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |