com.sap.mdm.publishing2.utils
Class AdoptedRelationshipsRecords

java.lang.Object
  extended bycom.sap.mdm.publishing2.utils.AdoptedRelationshipsRecords

public class AdoptedRelationshipsRecords
extends Object


Field Summary
 com.sap.mdm.internal.protocol.mdlspublishing.AdoptedRelationships[] m_relationships
           
 
Constructor Summary
AdoptedRelationshipsRecords(com.sap.mdm.internal.protocol.mdlspublishing.AdoptedRelationships[] relationships)
           
 
Method Summary
 RecordId[] getChildrenRecordIdsByIndex(int index)
          Gets an array of children for a particular relationship item (parent<->children) based on the relationship item index
 RecordId[] getChildrenRecordIdsByParentRecord(RecordId recordId)
          Gets an array of children for a particular relationship item (parent<->children) based on a parentId
 RecordId[] getParentRecordIds(int index)
          Gets an array of parents for each pair of adopt relationships (parent<->children)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_relationships

public com.sap.mdm.internal.protocol.mdlspublishing.AdoptedRelationships[] m_relationships
Constructor Detail

AdoptedRelationshipsRecords

public AdoptedRelationshipsRecords(com.sap.mdm.internal.protocol.mdlspublishing.AdoptedRelationships[] relationships)
Method Detail

getParentRecordIds

public RecordId[] getParentRecordIds(int index)
Gets an array of parents for each pair of adopt relationships (parent<->children)

Parameters:
index -
Returns:
RecordId[]

getChildrenRecordIdsByIndex

public RecordId[] getChildrenRecordIdsByIndex(int index)
Gets an array of children for a particular relationship item (parent<->children) based on the relationship item index

Parameters:
index -
Returns:
RecordId[]

getChildrenRecordIdsByParentRecord

public RecordId[] getChildrenRecordIdsByParentRecord(RecordId recordId)
Gets an array of children for a particular relationship item (parent<->children) based on a parentId

Parameters:
recordId -
Returns:
RecordId[]


Copyright 2004-2007 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.