Package javax.jdo
Class AttributeConverter.UseDefault
java.lang.Object
javax.jdo.AttributeConverter.UseDefault
- All Implemented Interfaces:
AttributeConverter<Object,
Object>
- Enclosing interface:
AttributeConverter<A,
D>
public static class AttributeConverter.UseDefault
extends Object
implements AttributeConverter<Object,Object>
Dummy converter to represent "use the implementation default for this type" when using annotations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface javax.jdo.AttributeConverter
AttributeConverter.UseDefault
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToAttribute
(Object datastoreValue) Converts the given datastore value to its representation as a persistent attribute.convertToDatastore
(Object attributeValue) Converts the given persistent attribute value to its representation in the datastore.
-
Constructor Details
-
UseDefault
public UseDefault()
-
-
Method Details
-
convertToDatastore
Description copied from interface:AttributeConverter
Converts the given persistent attribute value to its representation in the datastore.- Specified by:
convertToDatastore
in interfaceAttributeConverter<Object,
Object> - Parameters:
attributeValue
- Value of attribute- Returns:
- Value in datastore
-
convertToAttribute
Description copied from interface:AttributeConverter
Converts the given datastore value to its representation as a persistent attribute.- Specified by:
convertToAttribute
in interfaceAttributeConverter<Object,
Object> - Parameters:
datastoreValue
- Value in datastore- Returns:
- Value in attribute
-