public class CopyFlagsDescriptor extends Object implements ICopyFlagsDescriptor
Modifier and Type | Field and Description |
---|---|
protected Set |
childrenLinkTypesToBeCopied |
protected boolean |
childrenToBeCopied |
Constructor and Description |
---|
CopyFlagsDescriptor(boolean childrenToBeCopied)
Construct object of class CopyFlagsDescriptor.
|
CopyFlagsDescriptor(boolean childrenToBeCopied,
LinkType[] childrenLinkTypesToBeCopied)
Construct object of class CopyFlagsDescriptor.
|
Modifier and Type | Method and Description |
---|---|
void |
addLinkTypeToBeCopied(LinkType childrenLinkTypeToBeCopied)
Add link type to be copied when children also need to be copied.
|
boolean |
isChildrenLinkToBeCopied(LinkType linkType)
Get flag whether or not child links of the given
LinkType should be
copied. |
boolean |
isCildrenToBeCopied()
Get flag whether or not children should be copied.
|
void |
removeLinkTypeToBeCopied(LinkType childrenLinkTypeToBeCopied)
Remove link type to be copied when children also need to be copied.
|
protected boolean childrenToBeCopied
protected Set childrenLinkTypesToBeCopied
public CopyFlagsDescriptor(boolean childrenToBeCopied)
childrenToBeCopied
- flag whether or not children should be copiedpublic CopyFlagsDescriptor(boolean childrenToBeCopied, LinkType[] childrenLinkTypesToBeCopied)
childrenToBeCopied
- flag whether or not children should be copiedchildrenLinkTypesToBeCopied
- flag whether or not child links of the
given LinkType
should be copiedpublic void addLinkTypeToBeCopied(LinkType childrenLinkTypeToBeCopied)
childrenLinkTypeToBeCopied
- link typepublic void removeLinkTypeToBeCopied(LinkType childrenLinkTypeToBeCopied)
childrenLinkTypeToBeCopied
- link typepublic boolean isCildrenToBeCopied()
isCildrenToBeCopied
in interface ICopyFlagsDescriptor
public boolean isChildrenLinkToBeCopied(LinkType linkType)
LinkType
should be
copied.isChildrenLinkToBeCopied
in interface ICopyFlagsDescriptor
linkType
- link typeLinkType
should be copiedAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice