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