SAP NetWeaver '04

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

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.common_api.jar]
java.lang.Object
  |
  +--com.sap.netweaver.bc.rf.common.namespace.CopyFlagsDescriptor
All Implemented Interfaces:
ICopyFlagsDescriptor
Direct Known Subclasses:
CopyFlagsDescriptor

public class CopyFlagsDescriptor
extends java.lang.Object
implements ICopyFlagsDescriptor

Class implementing copy flags for a resource to be copied.


Field Summary
protected  java.util.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 java.util.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

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.