Class EntityResolveResultRebinder
java.lang.Object
ch.tocco.nice2.rest.entity.impl.rebind.path.EntityResolveResultRebinder
- All Implemented Interfaces:
ResolveResultRebinder<EntityResolveResult,
EntityBean, EntityRebindResult>
@Component
public class EntityResolveResultRebinder
extends Object
implements ResolveResultRebinder<EntityResolveResult,EntityBean,EntityRebindResult>
Rebinds resolve results of type
EntityResolveResult
.-
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, EntityResolveResult resolveResult, @Nullable EntityBean entityBean, 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
-
EntityResolveResultRebinder
-
-
Method Details
-
getValueType
- Specified by:
getValueType
in interfaceResolveResultRebinder<EntityResolveResult,
EntityBean, EntityRebindResult> - Returns:
- the type of the value which the rebinder is able to rebind.
-
getResultClass
- Specified by:
getResultClass
in interfaceResolveResultRebinder<EntityResolveResult,
EntityBean, EntityRebindResult>
-
rebind
public EntityRebindResult rebind(RebindResult rebindResult, EntityResolveResult resolveResult, @Nullable @Nullable EntityBean entityBean, boolean intermediate, RebindLimitConfiguration limitConfiguration, EntityBeanRebinder.RebindCollector rebindCollector) Description copied from interface:ResolveResultRebinder
Rebind a given value to the class.- Specified by:
rebind
in interfaceResolveResultRebinder<EntityResolveResult,
EntityBean, EntityRebindResult> - Parameters:
rebindResult
- The rebind result from the last step.resolveResult
- The target to modify.entityBean
- The value to set.
-