Package org.ametys.odf.ose.db.parameter
Class ValuedQueryParameter
- java.lang.Object
 - 
- org.ametys.odf.ose.db.parameter.ValuedQueryParameter
 
 
- 
- All Implemented Interfaces:
 QueryParameter
public class ValuedQueryParameter extends Object implements QueryParameter
Object to represent a query parameter to add : value and type. 
- 
- 
Constructor Summary
Constructors Constructor Description ValuedQueryParameter(String name, Object value, int type)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Get the name.StringgetParameter()Get the parameter.intgetType()Get the type.ObjectgetValue()Get the value. 
 - 
 
- 
- 
Constructor Detail
- 
ValuedQueryParameter
public ValuedQueryParameter(String name, Object value, int type)
Constructor.- Parameters:
 name- The name of the parametervalue- The value of the parameter, can be null for nullable columnstype- The type of the parameter
 
 - 
 
- 
Method Detail
- 
getName
public String getName()
Description copied from interface:QueryParameterGet the name.- Specified by:
 getNamein interfaceQueryParameter- Returns:
 - the name
 
 
- 
getParameter
public String getParameter()
Description copied from interface:QueryParameterGet the parameter.- Specified by:
 getParameterin interfaceQueryParameter- Returns:
 - the parameter
 
 
- 
getType
public int getType()
Get the type.- Returns:
 - the type
 
 
 - 
 
 -