com.sap.mdm.ids
Class AbstractId
java.lang.Object
com.sap.mdm.ids.AbstractId
- All Implemented Interfaces:
- Cloneable, Id
- Direct Known Subclasses:
- AbstractUniqueId, DimensionId, PortMapId, RelationshipId, RoleId, TableId, TupleDefinitionId, UnitId, UserId, XMLSchemaId
- public abstract class AbstractId
- extends Object
- implements Id
This class is ancestor for all non-unique ID implementations
| Nested classes inherited from class com.sap.mdm.ids.Id |
Id.Type |
| Fields inherited from interface com.sap.mdm.ids.Id |
EMPTY_ID |
| Methods inherited from interface com.sap.mdm.ids.Id |
getType |
id
public final int id
AbstractId
public AbstractId(int id)
- Constructor
- Parameters:
id - int value of ID
AbstractId
public AbstractId(AbstractId that)
- Copy constructor
- Parameters:
that - ID to copy
AbstractId
public AbstractId(String idString)
throws IllegalArgumentException
- String constructor
- Parameters:
idString - string representation of ID
- Throws:
IllegalArgumentException - if specified string can not be converted to ID
getIdValue
public int getIdValue()
getString
public String getString()
- Description copied from interface:
Id
- Get string representation of ID
- Specified by:
getString in interface Id
- Returns:
- ID string representation
toString
public String toString()
- See Also:
Object.toString()
equals
public boolean equals(Object o)
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- See Also:
Object.hashCode()
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.