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
Constructors -
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, waitMethods inherited from interface ch.tocco.nice2.rest.entity.impl.rebind.path.ResolveResultRebinder
rebind
-
Constructor Details
-
EntityResolveResultRebinder
-
-
Method Details
-
getValueType
- Specified by:
getValueTypein interfaceResolveResultRebinder<EntityResolveResult,EntityBean, EntityRebindResult> - Returns:
- the type of the value which the rebinder is able to rebind.
-
getResultClass
- Specified by:
getResultClassin 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:ResolveResultRebinderRebind a given value to the class.- Specified by:
rebindin interfaceResolveResultRebinder<EntityResolveResult,EntityBean, EntityRebindResult> - Parameters:
rebindResult- The rebind result from the last step.resolveResult- The target to modify.entityBean- The value to set.
-