Class BindingsLookupContextObject

java.lang.Object
de.businesscode.sqlengine.context.BindingsLookupContextObject

public class BindingsLookupContextObject extends 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 (@see SQLEngine), when the concrete BindingSet is already known Later the user can also ask for all BindingSets we were asked for
  • Constructor Details

    • BindingsLookupContextObject

      public BindingsLookupContextObject()
  • Method Details

    • get

      public Object get(String key)
      Getter for Velocity
      Parameters:
      key -
      Returns:
      the BindingSet representation
    • getUsedBindingsNames

      public Set<String> getUsedBindingsNames()
      getUsedBindingsNames
      Returns:
      the referenced BindingSets
    • getUsedBindings

      public Collection<BindingSetLookupContextObject> getUsedBindings()
      getUsedBindings
      Returns:
      the referenced BindingSets