org.castor.cpa.persistence.convertor
public final class StringToSqlTimestamp extends AbstractDateTypeConvertor
String
to java.sql.Timestamp
.Constructor and Description |
---|
StringToSqlTimestamp()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
convert(java.lang.Object object)
Convert the object from one type to another.
|
void |
parameterize(java.lang.String parameter)
Initialize the converter with the given parameter.
|
configure, getDefaultDateFormat, getFullDatePattern
clone, fromType, toString, toType
public void parameterize(java.lang.String parameter)
null
which both should lead to
the default behaviour of the converter.parameter
- The parameter for the convertor (null if is not specified).public java.lang.Object convert(java.lang.Object object)
object
- The object to convert.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com