Class EntityListResolveResultRebinder
java.lang.Object
ch.tocco.nice2.rest.entity.impl.rebind.path.EntityListResolveResultRebinder
- All Implemented Interfaces:
ResolveResultRebinder<EntityListResolveResult,
List<EntityBean>, EntityListRebindResult>
@Component
public class EntityListResolveResultRebinder
extends Object
implements ResolveResultRebinder<EntityListResolveResult,List<EntityBean>,EntityListRebindResult>
Rebinds resolve results of type
EntityListResolveResult
.-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.rest.entity.impl.rebind.path.ResolveResultRebinder
ResolveResultRebinder.ListValueType<T>, ResolveResultRebinder.ObjectValueType<T>, ResolveResultRebinder.ValueType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrebind
(RebindResult rebindResult, EntityListResolveResult resolveResult, @Nullable List<EntityBean> entityBeans, boolean intermediate, RebindLimitConfiguration limitConfiguration, EntityBeanRebinder.RebindCollector rebindCollector) Rebind a given value to the class.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.rest.entity.impl.rebind.path.ResolveResultRebinder
rebind
-
Constructor Details
-
EntityListResolveResultRebinder
-
-
Method Details
-
getValueType
- Specified by:
getValueType
in interfaceResolveResultRebinder<EntityListResolveResult,
List<EntityBean>, EntityListRebindResult> - Returns:
- the type of the value which the rebinder is able to rebind.
-
getResultClass
- Specified by:
getResultClass
in interfaceResolveResultRebinder<EntityListResolveResult,
List<EntityBean>, EntityListRebindResult>
-
rebind
public EntityListRebindResult rebind(RebindResult rebindResult, EntityListResolveResult resolveResult, @Nullable @Nullable List<EntityBean> entityBeans, boolean intermediate, RebindLimitConfiguration limitConfiguration, EntityBeanRebinder.RebindCollector rebindCollector) Description copied from interface:ResolveResultRebinder
Rebind a given value to the class.- Specified by:
rebind
in interfaceResolveResultRebinder<EntityListResolveResult,
List<EntityBean>, EntityListRebindResult> - Parameters:
rebindResult
- The rebind result from the last step.resolveResult
- The target to modify.entityBeans
- The value to set.
-