public class CMSCopyContext extends ItemModelCloneCreator.CopyContext
CMSCopyContext extends the ItemModelCloneCreator.CopyContext to overrides the skipAttribute(Object, String) method
not to skip an attribute if the attribute was set as partOf.| Constructor and Description |
|---|
CMSCopyContext()
Creates a new copy context.
|
CMSCopyContext(ModelCloningContext cloningContext)
Creates a new copy context with cloning context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ItemModelCloneCreator.CopyItem> |
getAll()
Returns all item copy wrappers.
|
protected boolean |
isOneEndAttributeOfRelation(RelationDescriptor rd) |
protected boolean |
skipAttribute(java.lang.Object original,
java.lang.String qualifier)
Verifies if an attribute should to be skipped
|
add, addPreset, getCopy, getCopyWrapper, getPendingItems, getPreset, getPresets, getTargetType, gotPreset, hasPendingItems, mustBeTranslated, treatAsPartOfpublic CMSCopyContext()
public CMSCopyContext(ModelCloningContext cloningContext)
protected boolean skipAttribute(java.lang.Object original,
java.lang.String qualifier)
skipAttribute in class ItemModelCloneCreator.CopyContextprotected boolean isOneEndAttributeOfRelation(RelationDescriptor rd)
public java.util.Collection<ItemModelCloneCreator.CopyItem> getAll()
getAll in class ItemModelCloneCreator.CopyContextCopyright © 2018 SAP SE. All Rights Reserved.