Class BindingsContextObject
java.lang.Object
de.businesscode.sqlengine.context.BindingsContextObject
This is the velocity context object, that represents BCD-UI global Bindings singleton, $bindings
and serves as a lookup for BindingSets
It already known from its parameters in the constructor, which binding set name / binding item names combinations occur
and is used in phase 2 (@see
SQLEngine
)-
Constructor Summary
ConstructorsConstructorDescriptionBindingsContextObject
(Bindings bindings, BindingsLookupContextObject bindingsLookup) -
Method Summary
Modifier and TypeMethodDescriptionGetter for VelocityGetter for a map, key is requested BindingSet name, value is the actual BindingSet determined, useful for a caller of SQLEngine to get info about the query structure
-
Constructor Details
-
BindingsContextObject
- Parameters:
bindings
- BCD global Bindings singletonbindingsLookup
-
-
-
Method Details
-
get
Getter for Velocity- Parameters:
key
-- Returns:
- the BindingSet representation
-
getUsedBindings
Getter for a map, key is requested BindingSet name, value is the actual BindingSet determined, useful for a caller of SQLEngine to get info about the query structure- Returns:
-