org.mentabean.sql.param
Class ParamFunction

java.lang.Object
  extended by org.mentabean.sql.param.ParamFunction
All Implemented Interfaces:
Param

public class ParamFunction
extends Object
implements Param


Constructor Summary
ParamFunction(Function function)
           
 
Method Summary
 String paramInQuery()
          Represents the parameters in query.
 Object[] values()
          The parameter's values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParamFunction

public ParamFunction(Function function)
Method Detail

paramInQuery

public String paramInQuery()
Description copied from interface: Param
Represents the parameters in query. In other words, this method returns a String with the expression exactly as will be shown in SQL before its execution.

Specified by:
paramInQuery in interface Param
Returns:
String

values

public Object[] values()
Description copied from interface: Param
The parameter's values

Specified by:
values in interface Param
Returns:
Object[]


Copyright © 2013. All Rights Reserved.