com.sap.mdm.data
Class MaskMembershipResult

java.lang.Object
  extended bycom.sap.mdm.data.MaskMembershipResult

public class MaskMembershipResult
extends Object

A container for determining if a record is a membership of a mask.

See Also:
RetrieveMaskMembershipForRecordsCommand

Constructor Summary
MaskMembershipResult(RecordId maskId, RecordId[] recordIds, boolean[] membership)
          Constructor.
 
Method Summary
 RecordId getMaskId()
          Returns the mask Id.
 RecordId[] getRecordIds()
          Returns the original list of records.
 boolean isMembership(RecordId recordId)
          Determines if the record is member of the mask.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaskMembershipResult

public MaskMembershipResult(RecordId maskId,
                            RecordId[] recordIds,
                            boolean[] membership)
Constructor.

Parameters:
maskId - a mask Id
recordIds - the list of records
membership - membership
Method Detail

getMaskId

public RecordId getMaskId()
Returns the mask Id.

Returns:
a mask Id

getRecordIds

public RecordId[] getRecordIds()
Returns the original list of records.

Returns:
the records

isMembership

public boolean isMembership(RecordId recordId)
Determines if the record is member of the mask.

Parameters:
recordId - a record Id
Returns:
true if the record is a member of the mask, otherwise false


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.