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