V - the generic for the basic java type representing the value.T - the generic for the adapted SimpleDatatype.public class SimpleDatatypeAttributeConverter<T extends SimpleDatatype<V>,V> extends AbstractSimpleDatatypeAttributeConverter<T,V>
AbstractSimpleDatatypeAttributeConverter.| Modifier and Type | Field and Description |
|---|---|
private DatatypeDescriptor<T> |
datatypeDescriptor |
| Constructor and Description |
|---|
SimpleDatatypeAttributeConverter(Class<T> datatype,
DatatypeDescriptorManager datatypeDescriptorManager)
The constructor.
|
SimpleDatatypeAttributeConverter(DatatypeDescriptor<T> datatypeDescriptor)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
T |
convertToEntityAttribute(V value) |
convertToDatabaseColumnprivate final DatatypeDescriptor<T extends SimpleDatatype<V>> datatypeDescriptor
public SimpleDatatypeAttributeConverter(Class<T> datatype, DatatypeDescriptorManager datatypeDescriptorManager)
datatype - is the Class reflecting the datatype to adapt.datatypeDescriptorManager - the DatatypeDescriptorManager instance.public SimpleDatatypeAttributeConverter(DatatypeDescriptor<T> datatypeDescriptor)
datatypeDescriptor - the DatatypeDescriptor for the datatype to adapt.Copyright © 2001–2015 mmm-Team. All rights reserved.