Package org.opennms.web.filter
Class IntegerSqlType
- java.lang.Object
-
- org.opennms.web.filter.IntegerSqlType
-
-
Constructor Summary
Constructors Constructor Description IntegerSqlType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindParam(PreparedStatement ps, int parameterIndex, Integer value)
bindParamInteger[]
createArray(Integer value1, Integer value2)
createArrayString
formatValue(Integer value)
formatValueString
getValueAsString(Integer value)
getValueAsString
-
-
-
Method Detail
-
formatValue
public String formatValue(Integer value)
formatValue
- Specified by:
formatValue
in interfaceSQLType<Integer>
- Parameters:
value
- aInteger
object.- Returns:
- a
String
object.
-
getValueAsString
public String getValueAsString(Integer value)
getValueAsString
- Specified by:
getValueAsString
in interfaceSQLType<Integer>
- Parameters:
value
- aInteger
object.- Returns:
- a
String
object.
-
bindParam
public void bindParam(PreparedStatement ps, int parameterIndex, Integer value) throws SQLException
bindParam
- Specified by:
bindParam
in interfaceSQLType<Integer>
- Parameters:
ps
- aPreparedStatement
object.parameterIndex
- a int.value
- aInteger
object.- Throws:
SQLException
- if any.
-
-