|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.schema.AbstractAttributeProperties
com.sap.mdm.schema.NumericAttributeProperties
Defines a numeric attribute. A numeric value specify a value and an attribute rating.
| Field Summary |
| Fields inherited from interface com.sap.mdm.schema.AttributeProperties |
COUPLED_TYPE, INVALID_TYPE, NUMERIC_TYPE, TEXT_TYPE |
| Constructor Summary | |
NumericAttributeProperties()
Empty constructor. |
|
NumericAttributeProperties(AttributeId id)
Constructor with the specified attribute Id. |
|
NumericAttributeProperties(NumericAttributeProperties other)
Copy c'tor. |
|
| Method Summary | |
Object |
clone()
|
boolean |
equals(Object obj)
|
String |
getCode()
Returns a string identifier for a named repository object. |
MeasurementProperties |
getMeasurement()
Returns the measurement properties |
byte |
getSupportedRatings()
Returns the attribute rating the attribute support. |
int |
getType()
Indicates an attribute type (text, numeric or coupled). |
int |
hashCode()
|
void |
setMeasurement(MeasurementProperties measurement)
Sets the measurement. |
void |
setSupportedRatings(byte supportedRatings)
Sets the attribute rating. |
boolean |
supportsRating(byte rating)
Returns whether the specified attribute rating is supported by this numeric attribute. |
| Methods inherited from class com.sap.mdm.schema.AbstractAttributeProperties |
getAlias, getChangeStamp, getDefinition, getId, getImageId, getName, getTableId, isMultiValued, setAlias, setChaneStamp, setChangeStamp, setCode, setDefinition, setImageId, setMultiValued, setName, setTableId, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NumericAttributeProperties()
public NumericAttributeProperties(AttributeId id)
id - an attribute Idpublic NumericAttributeProperties(NumericAttributeProperties other)
NumericAttributeProperties object.
other - Object to copy| Method Detail |
public int getType()
AttributeProperties
public byte getSupportedRatings()
public void setSupportedRatings(byte supportedRatings)
supportedRatings - attribute ratingspublic boolean supportsRating(byte rating)
rating - an attribute rating
true if the rating is supported, otherwise falsepublic MeasurementProperties getMeasurement()
public void setMeasurement(MeasurementProperties measurement)
measurement - a measurementpublic String getCode()
NamedRepositoryItem
getCode in interface NamedRepositoryItemgetCode in class AbstractAttributePropertiespublic int hashCode()
hashCode in class AbstractAttributePropertiespublic boolean equals(Object obj)
equals in class AbstractAttributePropertiespublic Object clone()
clone in interface AttributePropertiesclone in class AbstractAttributeProperties
|
|||||||||||
| 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.