站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

Converter (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.context.exe
Interface Converter

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

public interface Converter
extends java.io.Serializable

converts plain objects to objects that are persistable via a subclass of VariableInstance.


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.Class clazz)
          is true if this converter supports the given type, false otherwise.
 

Method Detail

supports

public boolean supports(java.lang.Class clazz)
is true if this converter supports the given type, false otherwise.


convert

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


revert

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



Version : jbpm-3.0.4