Package ru.curs.celesta.dbutils.stmt
Class ParameterSetter
- java.lang.Object
-
- ru.curs.celesta.dbutils.stmt.ParameterSetter
-
- Direct Known Subclasses:
ArbitraryParameterSetter
,FieldParameterSetter
,RecVersionParameterSetter
,SingleValueParameterSetter
,ValueFromParameterSetter
,ValueToParameterSetter
public abstract class ParameterSetter extends Object
An element of parameter setting program.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ParameterSetter
create(int i, QueryBuildingHelper queryBuildingHelper)
static ParameterSetter
create(SingleValue v, QueryBuildingHelper queryBuildingHelper)
static ArbitraryParameterSetter
createArbitrary(Object v, QueryBuildingHelper queryBuildingHelper)
static ParameterSetter
createForRecversion(QueryBuildingHelper queryBuildingHelper)
static ParameterSetter
createForValueFrom(Range r, QueryBuildingHelper queryBuildingHelper)
static ParameterSetter
createForValueTo(Range r, QueryBuildingHelper queryBuildingHelper)
abstract void
execute(PreparedStatement stmt, int paramNum, Object[] rec, int recversion)
-
-
-
Method Detail
-
execute
public abstract void execute(PreparedStatement stmt, int paramNum, Object[] rec, int recversion)
-
create
public static ParameterSetter create(int i, QueryBuildingHelper queryBuildingHelper)
-
create
public static ParameterSetter create(SingleValue v, QueryBuildingHelper queryBuildingHelper)
-
createForValueFrom
public static ParameterSetter createForValueFrom(Range r, QueryBuildingHelper queryBuildingHelper)
-
createForValueTo
public static ParameterSetter createForValueTo(Range r, QueryBuildingHelper queryBuildingHelper)
-
createForRecversion
public static ParameterSetter createForRecversion(QueryBuildingHelper queryBuildingHelper)
-
createArbitrary
public static ArbitraryParameterSetter createArbitrary(Object v, QueryBuildingHelper queryBuildingHelper)
-
-