@java.lang.SuppressWarnings("rawtypes") public abstract class AbstractMappingAwareCustomTypeMarshaller<T, N, Q> extends java.lang.Object implements CustomTypeMarshaller
Abstract implementation of CustomTypeMarshaller interface that handles the details of getting the correct mapped key for a property
Modifiers | Name | Description |
---|---|---|
private java.lang.Class<T> |
targetType |
Constructor and description |
---|
AbstractMappingAwareCustomTypeMarshaller
(java.lang.Class<T> targetType) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.Class<T> |
getTargetType() |
|
public Q |
query(PersistentProperty property, PropertyCriterion criterion, Q nativeQuery) |
|
protected void |
queryInternal(PersistentProperty property, java.lang.String key, PropertyCriterion value, Q nativeQuery) |
|
public T |
read(PersistentProperty property, N source) |
|
protected abstract T |
readInternal(PersistentProperty property, java.lang.String key, N nativeSource) |
|
public boolean |
supports(Datastore datastore) |
|
public boolean |
supports(MappingContext context) |
|
public java.lang.Object |
write(PersistentProperty property, T value, N nativeTarget) |
|
protected abstract java.lang.Object |
writeInternal(PersistentProperty property, java.lang.String key, T value, N nativeTarget) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |