UnitOfWork.toValue(Class, Identity) instead.@Mixins(value=EntityToValue.EntityToValueMixin.class) public interface EntityToValue
| Modifier and Type | Interface and Description |
|---|---|
static class |
EntityToValue.EntityToValueMixin
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Iterable<T> |
convert(Class<T> valueType,
Iterable<Object> entities)
Deprecated.
Convert an iterable of entities to an iterable of values.
|
<T> Iterable<T> |
convert(Class<T> valueType,
Iterable<Object> entities,
Function<T,T> prototypeOpportunity)
Deprecated.
Convert an iterable of entities to an iterable of values with an opportunity to customize their prototypes.
|
<T> T |
convert(Class<T> valueType,
Object entity)
Deprecated.
Convert an entity to a value.
|
<T> T |
convert(Class<T> valueType,
Object entity,
Function<T,T> prototypeOpportunity)
Deprecated.
Convert an entity to a value with an opportunity to customize its prototype.
|
<T> T convert(Class<T> valueType, Object entity)
T - parametrized type of the valuevalueType - type of the valueentity - the entity to convert to a value<T> T convert(Class<T> valueType, Object entity, Function<T,T> prototypeOpportunity)
T - parametrized type of the valuevalueType - type of the valueentity - the entity to convert to a valueprototypeOpportunity - a Function that will be mapped on the value prototype before instanciantion<T> Iterable<T> convert(Class<T> valueType, Iterable<Object> entities)
T - parametrized type of the valuevalueType - type of the valueentities - the entities to convert to values<T> Iterable<T> convert(Class<T> valueType, Iterable<Object> entities, Function<T,T> prototypeOpportunity)
T - parametrized type of the valuevalueType - type of the valueentities - the entities to convert to valuesprototypeOpportunity - a Function that will be mapped on each of the value prototypes before instanciation.