com.sap.netweaver.bc.rf.common.namespace

Class CopyFlagsDescriptor

java.lang.Object
  extended by com.sap.netweaver.bc.rf.common.namespace.CopyFlagsDescriptor
All Implemented Interfaces:
ICopyFlagsDescriptor
Direct Known Subclasses:
CopyFlagsDescriptor

public class CopyFlagsDescriptor
extends Object
implements ICopyFlagsDescriptor

Class implementing copy flags for a resource to be copied.


Field Summary
protected  Set childrenLinkTypesToBeCopied
           
protected  boolean childrenToBeCopied
           
 
Constructor Summary
CopyFlagsDescriptor(boolean childrenToBeCopied)
          Construct object of class CopyFlagsDescriptor.
CopyFlagsDescriptor(boolean childrenToBeCopied, LinkType[] childrenLinkTypesToBeCopied)
          Construct object of class CopyFlagsDescriptor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

childrenToBeCopied

protected boolean childrenToBeCopied

childrenLinkTypesToBeCopied

protected Set childrenLinkTypesToBeCopied
Constructor Detail

CopyFlagsDescriptor

public CopyFlagsDescriptor(boolean childrenToBeCopied)
Construct object of class CopyFlagsDescriptor.

Parameters:
childrenToBeCopied - flag whether or not children should be copied

CopyFlagsDescriptor

public CopyFlagsDescriptor(boolean childrenToBeCopied,
                           LinkType[] childrenLinkTypesToBeCopied)
Construct object of class CopyFlagsDescriptor.

Parameters:
childrenToBeCopied - flag whether or not children should be copied
childrenLinkTypesToBeCopied - flag whether or not child links of the given LinkType should be copied
Method Detail

addLinkTypeToBeCopied

public void addLinkTypeToBeCopied(LinkType childrenLinkTypeToBeCopied)
Add link type to be copied when children also need to be copied.

Parameters:
childrenLinkTypeToBeCopied - link type

removeLinkTypeToBeCopied

public void removeLinkTypeToBeCopied(LinkType childrenLinkTypeToBeCopied)
Remove link type to be copied when children also need to be copied.

Parameters:
childrenLinkTypeToBeCopied - link type

isCildrenToBeCopied

public boolean isCildrenToBeCopied()
Get flag whether or not children should be copied.

Specified by:
isCildrenToBeCopied in interface ICopyFlagsDescriptor
Returns:
flag whether or not children should be copied

isChildrenLinkToBeCopied

public boolean isChildrenLinkToBeCopied(LinkType linkType)
Get flag whether or not child links of the given LinkType should be copied.

Specified by:
isChildrenLinkToBeCopied in interface ICopyFlagsDescriptor
Parameters:
linkType - link type
Returns:
flag whether or not child links of the given LinkType should be copied
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice