com.sap.mdm.ids
Class RecordId

java.lang.Object
  extended bycom.sap.mdm.ids.AbstractId
      extended bycom.sap.mdm.ids.AbstractUniqueId
          extended bycom.sap.mdm.ids.RecordId
All Implemented Interfaces:
Cloneable, Id

public class RecordId
extends AbstractUniqueId

An identifier for a record.


Nested Class Summary
 
Nested classes inherited from class com.sap.mdm.ids.Id
Id.Type
 
Field Summary
static RecordId INVALID_RECORD_ID
           
 
Fields inherited from class com.sap.mdm.ids.AbstractUniqueId
uniqueId
 
Fields inherited from class com.sap.mdm.ids.AbstractId
id
 
Fields inherited from interface com.sap.mdm.ids.Id
EMPTY_ID
 
Constructor Summary
RecordId(int id)
          Constructor
RecordId(int id, int uniqueId)
          Constructor
RecordId(RecordId that)
          Copy constructor
RecordId(String idString)
          String constructor
 
Method Summary
 Object clone()
           
 int getType()
          Returns the type of the ID The type of an ID should be identifiable from the string.
 
Methods inherited from class com.sap.mdm.ids.AbstractUniqueId
equals, getString, getUniqueIdValue
 
Methods inherited from class com.sap.mdm.ids.AbstractId
getIdValue, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INVALID_RECORD_ID

public static final RecordId INVALID_RECORD_ID
Constructor Detail

RecordId

public RecordId(int id)
Constructor

Parameters:
id - non-unique ID

RecordId

public RecordId(int id,
                int uniqueId)
Constructor

Parameters:
id - non-unique ID
uniqueId - unique ID

RecordId

public RecordId(String idString)
         throws IllegalArgumentException
String constructor

Parameters:
idString - string representation of ID
Throws:
IllegalArgumentException - if specified string can not be converted to ID

RecordId

public RecordId(RecordId that)
Copy constructor

Parameters:
that - ID to copy
Method Detail

getType

public int getType()
Description copied from interface: Id
Returns the type of the ID The type of an ID should be identifiable from the string.

Returns:
ID type

clone

public Object clone()


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.