Class BindingsContextObject


  • public class BindingsContextObject
    extends java.lang.Object
    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)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object get​(java.lang.String key)
      Getter for Velocity
      java.util.Map<java.lang.String,​BindingSetContextObject> 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BindingsContextObject

        public BindingsContextObject​(Bindings bindings,
                                     BindingsLookupContextObject bindingsLookup)
        Parameters:
        bindings - BCD global Bindings singleton
        bindingsLookup -
    • Method Detail

      • get

        public java.lang.Object get​(java.lang.String key)
        Getter for Velocity
        Parameters:
        key -
        Returns:
        the BindingSet representation
      • getUsedBindings

        public java.util.Map<java.lang.String,​BindingSetContextObject> 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: