Package org.datanucleus.api.jdo
Class JDOTypeConverter<X,Y>
- java.lang.Object
-
- org.datanucleus.api.jdo.JDOTypeConverter<X,Y>
-
- Type Parameters:
X
- Member type for this converterY
- Datastore type for storing this member with this converter
- All Implemented Interfaces:
Serializable
,org.datanucleus.store.types.converters.TypeConverter<X,Y>
public class JDOTypeConverter<X,Y> extends Object implements org.datanucleus.store.types.converters.TypeConverter<X,Y>
Wrapper for a JDO AttributeConverter for use internally to DataNucleus.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JDOTypeConverter(javax.jdo.AttributeConverter<X,Y> conv)
Constructor for a JDO type converter, wrapping a javax.jdo.AttributeConverter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jdo.AttributeConverter<X,Y>
getAttributeConverter()
Y
toDatastoreType(X memberValue)
X
toMemberType(Y datastoreValue)
String
toString()
-