01: package com.completex.objective.components.persistency.mapper.impl;
02:
03: import com.completex.objective.components.persistency.mapper.ValueHandler;
04: import com.completex.objective.components.persistency.mapper.RequestContext;
05: import com.completex.objective.components.persistency.mapper.ParentValueHandler;
06:
07: import java.beans.PropertyDescriptor;
08:
09: /**
10: * @author Gennady Krizhevsky
11: */
12: public class DefaultValueHandler implements ValueHandler {
13:
14: public void assignValue(String valuePath, RequestContext context,
15: Object currentBean,
16: PropertyDescriptor[] currentBeanDescriptors,
17: Object currentPo, PropertyDescriptor currentPoDescriptor,
18: ParentValueHandler parentHandler, boolean forModification) {
19: if (parentHandler != null) {
20: parentHandler.assignValue(valuePath, context, currentBean,
21: currentBeanDescriptors, currentPo,
22: currentPoDescriptor, forModification);
23: }
24: }
25: }
|