org.jbpm.pvm.type
Interface Converter

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BooleanToStringConverter, ByteToLongConverter, CharacterToStringConverter, DateToLongConverter, DateToStringConverter, DoubleToStringConverter, FloatToDoubleConverter, FloatToStringConverter, IntegerToLongConverter, SerializableToBytesConverter, ShortToLongConverter

public interface Converter
extends java.io.Serializable

Author:
Tom Baeyens

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.
 boolean supports(java.lang.Object value)
          is true if this converter supports the given type, false otherwise.
 

Method Detail

supports

boolean supports(java.lang.Object value)
is true if this converter supports the given type, false otherwise.


convert

java.lang.Object convert(java.lang.Object o)
converts a given object to its persistable format.


revert

java.lang.Object revert(java.lang.Object o)
reverts a persisted object to its original form.