|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.ids.AbstractId
com.sap.mdm.ids.AbstractUniqueId
com.sap.mdm.ids.AttributeId
An identifier for an attribute.
| Nested Class Summary |
| Nested classes inherited from class com.sap.mdm.ids.Id |
Id.Type |
| Field Summary | |
static byte |
AVERAGE_RATING
|
static byte |
INVALID_RATING
|
static byte |
MAXIMUM_RATING
|
static byte |
MINIMUM_RATING
|
static byte |
NOMINAL_RATING
|
static byte |
TYPICAL_RATING
|
| 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 | |
AttributeId(AttributeId that)
Copy constructor |
|
AttributeId(int id)
Constructor |
|
AttributeId(int id,
byte rating)
Constructor for Numeric attribute |
|
AttributeId(int id,
int uniqueId)
Constructor |
|
AttributeId(int id,
int uniqueId,
byte rating)
Constructor for Numeric attribute |
|
AttributeId(String idString)
String constructor |
|
| Method Summary | |
Object |
clone()
|
boolean |
equals(Object o)
|
byte |
getRating()
Get rating |
String |
getRatingSeparator()
Returns rating separator that separates between attribute code and rating name |
String |
getRatingString()
Get rating |
String |
getString()
Get string representation of ID |
int |
getType()
Returns the type of the ID The type of an ID should be identifiable from the string. |
int |
hashCode()
|
| Methods inherited from class com.sap.mdm.ids.AbstractUniqueId |
getUniqueIdValue |
| Methods inherited from class com.sap.mdm.ids.AbstractId |
getIdValue, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final byte INVALID_RATING
public static final byte MINIMUM_RATING
public static final byte MAXIMUM_RATING
public static final byte TYPICAL_RATING
public static final byte NOMINAL_RATING
public static final byte AVERAGE_RATING
| Constructor Detail |
public AttributeId(int id)
id - ID
public AttributeId(int id,
int uniqueId)
id - IDuniqueId - unique ID
public AttributeId(int id,
byte rating)
id - IDrating - rating of numeric attribute
public AttributeId(int id,
int uniqueId,
byte rating)
id - IDuniqueId - unique IDrating - rating of numeric attributepublic AttributeId(AttributeId that)
that - ID to copy
public AttributeId(String idString)
throws IllegalArgumentException
idString - string representation of attribute ID
IllegalArgumentException - if specified string can not be converted to ID| Method Detail |
public byte getRating()
public String getRatingString()
public String getRatingSeparator()
public int getType()
Id
public String getString()
Id
getString in interface IdgetString in class AbstractUniqueIdpublic Object clone()
public boolean equals(Object o)
equals in class AbstractUniqueIdObject.equals(java.lang.Object)public int hashCode()
hashCode in class AbstractIdObject.hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.