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