org.jbpm.pvm.type.converter
Class DateToStringConverter

java.lang.Object
  extended by org.jbpm.pvm.type.converter.DateToStringConverter
All Implemented Interfaces:
java.io.Serializable, Converter

public class DateToStringConverter
extends java.lang.Object
implements Converter

Author:
Tom Baeyens
See Also:
Serialized Form

Constructor Summary
DateToStringConverter()
           
 
Method Summary
 java.lang.Object convert(java.lang.Object o)
          converts a given object to its persistable format.
 java.lang.Object revert(java.lang.Object o)
          reverts a persisted object to its original form.
 void setFormat(java.lang.String format)
           
 boolean supports(java.lang.Object value)
          is true if this converter supports the given type, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateToStringConverter

public DateToStringConverter()
Method Detail

convert

public java.lang.Object convert(java.lang.Object o)
Description copied from interface: Converter
converts a given object to its persistable format.

Specified by:
convert in interface Converter

revert

public java.lang.Object revert(java.lang.Object o)
Description copied from interface: Converter
reverts a persisted object to its original form.

Specified by:
revert in interface Converter

supports

public boolean supports(java.lang.Object value)
Description copied from interface: Converter
is true if this converter supports the given type, false otherwise.

Specified by:
supports in interface Converter

setFormat

public void setFormat(java.lang.String format)