- All Known Implementing Classes:
public interface InheritanceAssembler
Handles inheritance of model values.
- Benjamin Bentmann
(Model child, Model parent, ModelBuildingRequest request, ModelProblemCollector problems)Merges values from the specified parent model into the given child model. Implementations are expected to keep parent and child completely decoupled by injecting deep copies of objects into the child rather than the original objects from the parent.
child- The child model into which to merge the values inherited from the parent, must not be
parent- The (read-only) parent model from which to inherit the values, may be
request- The model building request that holds further settings, must not be
problems- The container used to collect problems that were encountered, must not be