derives method

MappingDefinition<S, T> derives(
  1. MappingDefinition mappingDefinition
)

inherit all operations as specified in a parent mapping. This makes sense for inherited classes, where mappers inherit each other as well. mappingDefinition an inherited mapping

Implementation

MappingDefinition<S,T>  derives(MappingDefinition mappingDefinition) {
  baseMapping = mappingDefinition;

  return this;
}