org.mentabean.sql.param
Class ParamField

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

public class ParamField
extends Object
implements Param


Constructor Summary
ParamField(QueryBuilder.Alias<?> alias, Object property)
           
 
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

ParamField

public ParamField(QueryBuilder.Alias<?> alias,
                  Object property)
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.