org.opennms.web.filter
Class DateSqlType
java.lang.Object
org.opennms.web.filter.DateSqlType
- All Implemented Interfaces:
- SQLType<Date>
public class DateSqlType
- extends Object
- implements SQLType<Date>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateSqlType
public DateSqlType()
bindParam
public void bindParam(PreparedStatement ps,
int parameterIndex,
Date value)
throws SQLException
- Specified by:
bindParam in interface SQLType<Date>
- Throws:
SQLException
getValueAsString
public String getValueAsString(Date value)
- Specified by:
getValueAsString in interface SQLType<Date>
formatValue
public String formatValue(Date value)
- Specified by:
formatValue in interface SQLType<Date>
createArray
public Date[] createArray(Date value1,
Date value2)
- Specified by:
createArray in interface SQLType<Date>
Copyright © 2009. All Rights Reserved.