A
- The type of persistent attribute (field or property).D
- The type to be used in the datastore.public interface AttributeConverter<A,D>
Modifier and Type | Interface and Description |
---|---|
static class |
AttributeConverter.UseDefault
Dummy converter to represent "use the implementation default for this type" when using annotations.
|
Modifier and Type | Method and Description |
---|---|
A |
convertToAttribute(D datastoreValue)
Converts the given datastore value to its representation as a persistent attribute.
|
D |
convertToDatastore(A attributeValue)
Converts the given persistent attribute value to its representation in the datastore.
|
Copyright © 2005–1970 Apache Software Foundation. All rights reserved.