public abstract class AbstractIterableResultAdapter<E> extends AbstractResultAdapter<E>
| Constructor and Description |
|---|
AbstractIterableResultAdapter(int priority) |
| Modifier and Type | Method and Description |
|---|---|
E |
adapt(Invocation invocation,
Object originalValue)
Called when we need to adapt the result from an invocation to the result required by the repository method
|
protected abstract E |
doAdapt(Invocation invocation,
Iterable iterable)
This is called when we want to adapt an iterable object to another type.
|
compareTo, getPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptspublic E adapt(Invocation invocation, Object originalValue)
ResultAdapterinvocation - the repository method invocationoriginalValue - the original value returned from a data store operationprotected abstract E doAdapt(Invocation invocation, Iterable iterable)
invocation - the invocation which called for this adaptationiterable - the iterable to be adapted to the appropriate result typeCopyright © 2014–2016. All rights reserved.