org.jbpm.context.exe.converter
Class ByteToLongConverter

java.lang.Object
  extended by org.jbpm.context.exe.converter.ByteToLongConverter
All Implemented Interfaces:
java.io.Serializable, Converter<java.lang.Byte,java.lang.Long>

public class ByteToLongConverter
extends java.lang.Object
implements Converter<java.lang.Byte,java.lang.Long>

See Also:
Serialized Form

Constructor Summary
ByteToLongConverter()
           
 
Method Summary
 java.lang.Long convert(java.lang.Byte o)
          converts a given object to its persistable format.
 java.lang.Byte revert(java.lang.Long 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteToLongConverter

public ByteToLongConverter()
Method Detail

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<java.lang.Byte,java.lang.Long>

convert

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

Specified by:
convert in interface Converter<java.lang.Byte,java.lang.Long>

revert

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

Specified by:
revert in interface Converter<java.lang.Byte,java.lang.Long>


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.