org.ow2.orchestra.pvm.internal.type.converter
Class ShortToLongConverter
java.lang.Object
org.ow2.orchestra.pvm.internal.type.converter.ShortToLongConverter
- All Implemented Interfaces:
- Serializable, Converter
public class ShortToLongConverter
- extends Object
- implements Converter
- See Also:
- Serialized Form
|
Method Summary |
Object |
convert(Object o)
converts a given object to its persistable format. |
Object |
revert(Object o)
reverts a persisted object to its original form. |
boolean |
supports(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 |
ShortToLongConverter
public ShortToLongConverter()
supports
public boolean supports(Object value)
- Description copied from interface:
Converter
- is true if this converter supports the given type, false otherwise.
- Specified by:
supports in interface Converter
convert
public Object convert(Object o)
- Description copied from interface:
Converter
- converts a given object to its persistable format.
- Specified by:
convert in interface Converter
revert
public Object revert(Object o)
- Description copied from interface:
Converter
- reverts a persisted object to its original form.
- Specified by:
revert in interface Converter
Copyright © 2011 OW2 Consortium. All Rights Reserved.