Package de.businesscode.bcdui.wrs.load
Class WrqBindingSetRef
- java.lang.Object
-
- de.businesscode.bcdui.wrs.load.WrqBindingSetRef
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
public class WrqBindingSetRef extends java.lang.Object implements java.lang.reflect.InvocationHandler
Wrapper for BindingSets that can be referenced more than one in a query, mainly adds the sql table alias for the current occurrence This can be a StandardBindingSet and a CTE Implements WrqBindingSet
-
-
Field Summary
Fields Modifier and Type Field Description protected SqlFromSubSelect
currentSelect
protected java.util.Set<StandardBindingSet>
resolvedBindingSets
protected java.lang.String
sqlAlias
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WrqBindingSet
create(SqlFromSubSelect currentSelect, BindingSet underlyingBindingSet)
Proxy factoryjava.lang.Object
invoke(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args)
Pass calls to our underlying BindignSet
-
-
-
Field Detail
-
sqlAlias
protected java.lang.String sqlAlias
-
resolvedBindingSets
protected java.util.Set<StandardBindingSet> resolvedBindingSets
-
currentSelect
protected final SqlFromSubSelect currentSelect
-
-
Method Detail
-
create
public static WrqBindingSet create(SqlFromSubSelect currentSelect, BindingSet underlyingBindingSet)
Proxy factory- Parameters:
currentSelect
-underlyingBindingSet
-- Returns:
- Throws:
java.lang.Exception
-
invoke
public java.lang.Object invoke(java.lang.Object obj, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
Pass calls to our underlying BindignSet- Specified by:
invoke
in interfacejava.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
-
-