SAP NetWeaver '04

com.sapportals.wcm.service.relation
Interface IRelationTypeAttributes

[contained in: com.sap.netweaver.bc.rf.service.par - bc.rf.global.service.relation_api.jar]
public interface IRelationTypeAttributes

The attributes of a IRelationType .
IRelationTypeAttributes define:


Method Summary
 IPropertyNameList getRequiredProperties()
          Get the list of required properties for the relations of this type.
 IRelationTypeHandler getTypeHandler()
          Get the relation type's handler.
 boolean isOneToOne()
          True, if only 1:1 relations are allowed (only one relation per source operand).
 boolean isOrdered()
          True, if the relations are ordered with respect to their source operand.
 boolean isSourceChangeTrackingEnabled()
          True, if the relations are updated, when object which are referenced by the source operands, are renamed.
 boolean isSourceCopyTrackingEnabled()
          True, if relations are to be copied, when an object referenced by a source operand, was copied.
 boolean isSourceDeleteTrackingEnabled()
          True, if the relations will be deleted, when their source operand is deleted.
 boolean isTargetChangeTrackingEnabled()
          True, if the relations are updated, when object which are referenced by the target operands, are renamed.
 boolean isTargetCopyTrackingEnabled()
          True, if the relations are updated, when object which are referenced by the target operands, are renamed.
 boolean isTargetDeleteTrackingEnabled()
          True, if the relations will be deleted, when their target operand is deleted.
 

Method Detail

getTypeHandler

public IRelationTypeHandler getTypeHandler()
Get the relation type's handler.
Returns:
a IRelationTypeHandler which specifies the handler for the relation type.

getRequiredProperties

public IPropertyNameList getRequiredProperties()
Get the list of required properties for the relations of this type.
Not yet supported!
Returns:
a IPropertyNameList with the required properties for the relations of this relation type, might be empty.

isOneToOne

public boolean isOneToOne()
True, if only 1:1 relations are allowed (only one relation per source operand).
Returns:
a boolean true , if only 1:1 relations are allowed.

isOrdered

public boolean isOrdered()
True, if the relations are ordered with respect to their source operand.
(not yet implemented)
Returns:
a boolean true , if relations are ordered within that type and source operand.

isSourceDeleteTrackingEnabled

public boolean isSourceDeleteTrackingEnabled()
True, if the relations will be deleted, when their source operand is deleted.
Returns:
a boolean true , if relations are deleted when their source operand gets deleted.

isTargetDeleteTrackingEnabled

public boolean isTargetDeleteTrackingEnabled()
True, if the relations will be deleted, when their target operand is deleted.
Returns:
a boolean true , if relations are deleted when their target operand gets deleted.

isSourceChangeTrackingEnabled

public boolean isSourceChangeTrackingEnabled()
True, if the relations are updated, when object which are referenced by the source operands, are renamed.
Returns:
a boolean true , if relations are updated when the referenced source operand object gets renamed. Warning: if renaming the object referenced by the source operand violates the constraint defined by the source operand's type, the relation will be deleted if this flag is enabled.

isTargetChangeTrackingEnabled

public boolean isTargetChangeTrackingEnabled()
True, if the relations are updated, when object which are referenced by the target operands, are renamed.
Returns:
a boolean true , if relations are updated when the referenced target operand object gets renamed. Warning: if renaming the object referenced by the target operand violates the constraint defined by the target operand's type, the relation will be deleted if this flag is enabled.

isSourceCopyTrackingEnabled

public boolean isSourceCopyTrackingEnabled()
True, if relations are to be copied, when an object referenced by a source operand, was copied.
Returns:
a boolean true , if relations are updated when the referenced source operand object gets renamed. Warning: if renaming the object referenced by the source operand violates the constraint defined by the source operand's type, the relation will be deleted if this flag is enabled.

isTargetCopyTrackingEnabled

public boolean isTargetCopyTrackingEnabled()
True, if the relations are updated, when object which are referenced by the target operands, are renamed.
Returns:
a boolean true , if relations are updated when the referenced target operand object gets renamed. Warning: if renaming the object referenced by the target operand violates the constraint defined by the target operand's type, the relation will be deleted if this flag is enabled.

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.