com.sap.mdm.data
Class RelationshipMembership

java.lang.Object
  extended bycom.sap.mdm.data.RelationshipMembership
Direct Known Subclasses:
ParentChildMembership, SiblingMembership

public abstract class RelationshipMembership
extends Object

An abstract class representing a relationship membership for a record.

Since:
5.5 SP6 Patch 01

Field Summary
static int PARENT_CHILD_RELATIONSHIP_TYPE
           
static int SIBLING_RELATIONSHIP_TYPE
           
 
Constructor Summary
RelationshipMembership(TableId tableId, RecordId recordId, RelationshipProperties relationship)
          Constructor with the specified parameters.
 
Method Summary
 RecordId getRecordId()
          Returns the record Id.
 RelationshipProperties getRelationships()
          Returns the relationship definition.
 TableId getTableId()
          Returns the table Id.
abstract  int getType()
          Returns the relationship type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIBLING_RELATIONSHIP_TYPE

public static final int SIBLING_RELATIONSHIP_TYPE
See Also:
Constant Field Values

PARENT_CHILD_RELATIONSHIP_TYPE

public static final int PARENT_CHILD_RELATIONSHIP_TYPE
See Also:
Constant Field Values
Constructor Detail

RelationshipMembership

public RelationshipMembership(TableId tableId,
                              RecordId recordId,
                              RelationshipProperties relationship)
Constructor with the specified parameters.

Parameters:
tableId - a table Id
recordId - a record Id
relationship - a membership definition
Method Detail

getTableId

public TableId getTableId()
Returns the table Id.

Returns:
a table Id

getRecordId

public RecordId getRecordId()
Returns the record Id.

Returns:
a record Id

getRelationships

public RelationshipProperties getRelationships()
Returns the relationship definition.

Returns:
a relationship definition

getType

public abstract int getType()
Returns the relationship type.

Returns:
a relationship type
See Also:
PARENT_CHILD_RELATIONSHIP_TYPE, SIBLING_RELATIONSHIP_TYPE


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.