Class BindingsLookupContextObject
- java.lang.Object
-
- de.businesscode.sqlengine.context.BindingsLookupContextObject
-
public class BindingsLookupContextObject extends java.lang.Object
This is the velocity context object, allowing velocity to lookup a BindingSet (more precisely a BindingSetLookupContextObject) by name This is used in phase 2 (@seeSQLEngine
), when the concrete BindingSet is already known Later the user can also ask for all BindingSets we were asked for
-
-
Constructor Summary
Constructors Constructor Description BindingsLookupContextObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
get(java.lang.String key)
Getter for Velocityjava.util.Collection<BindingSetLookupContextObject>
getUsedBindings()
getUsedBindingsjava.util.Set<java.lang.String>
getUsedBindingsNames()
getUsedBindingsNames
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.String key)
Getter for Velocity- Parameters:
key
-- Returns:
- the BindingSet representation
-
getUsedBindingsNames
public java.util.Set<java.lang.String> getUsedBindingsNames()
getUsedBindingsNames- Returns:
- the referenced BindingSets
-
getUsedBindings
public java.util.Collection<BindingSetLookupContextObject> getUsedBindings()
getUsedBindings- Returns:
- the referenced BindingSets
-
-