org.mentabean.sql.param
Class ParamValue

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

public class ParamValue
extends Object
implements Param


Constructor Summary
ParamValue(Object value)
           
 
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

ParamValue

public ParamValue(Object value)
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.