Class DefaultModelCloningContext

java.lang.Object
de.hybris.platform.servicelayer.internal.model.impl.DefaultModelCloningContext
All Implemented Interfaces:
ModelCloningContext

public class DefaultModelCloningContext extends Object implements ModelCloningContext
Default model coning context.

Does not provide any preset value and does not change partOf behavior.

However it skips attributes which are defined as the many-end of a one-to-many relation in case they are not marked as partOf. If they would not be skipped the items referenced will finally be removed from the source item and assigned to the target item instead, which is not the intention of the cloning process.