Class DOFWFunction

java.lang.Object
org.eclnt.ccee.db.dofw.DOFWFunction

public class DOFWFunction extends Object
Complex definition of an SQL function. The function is passed as String containing property placeholders ("?p") and value placeholders ("?v").
  • 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