Package net.sf.basedb.util.jep.convert
Class IntegerConverter
java.lang.Object
net.sf.basedb.util.jep.convert.AbstractJepConversionFunction<Integer>
net.sf.basedb.util.jep.convert.IntegerConverter
- All Implemented Interfaces:
JepConversionFunction<Integer>
Convert an
Integer
constant
to a Query API Expression
.- Version:
- 2.4
- Author:
- nicklas
- Last modified
- $Date: 2008-09-11 22:08:14 +0200 (to, 11 sep 2008) $
-
Constructor Summary
-
Method Summary
Methods inherited from class net.sf.basedb.util.jep.convert.AbstractJepConversionFunction
getDescription, getName, isFunction, isOperator, toRestriction
-
Constructor Details
-
IntegerConverter
public IntegerConverter()
-
-
Method Details
-
toExpression
Convert to expression by callingExpressions.integer(int)
.- Specified by:
toExpression
in interfaceJepConversionFunction<Integer>
- Overrides:
toExpression
in classAbstractJepConversionFunction<Integer>
- Parameters:
i
- The object to convert- Returns:
- An expression or null
-