Package org.eclnt.ccee.db.dofw
Class DOFWFunction
java.lang.Object
org.eclnt.ccee.db.dofw.DOFWFunction
Complex definition of an SQL function. The function is passed as String containing
property placeholders ("?p") and value placeholders ("?v").
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDOFWFunction
(Class clazz, String functionStatement, String resultPropertyReference, String[] properties, DOFWFunction.DOFWFunctionValue[] values) -
Method Summary
-
Constructor Details
-
DOFWFunction
public DOFWFunction(Class clazz, String functionStatement, String resultPropertyReference, String[] properties, DOFWFunction.DOFWFunctionValue[] values) - Parameters:
clazz
- Class ("Table")functionStatement
- String with placeholder "?p" for a property name and "?v" for a value.resultPropertyReference
- The property that the result refers to. Is used for mapping the object result of the query. If passing null, then the result of the query is directly transferred back without object conversion.properties
- Properties that are referenced via "?p".values
- Values that are referenced via "?p".
-
-
Method Details
-
buildSqlString
-
getValues
-
getResultPropertyReference
-