|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.schema.MeasurementProperties
Defines a measurement. A measurement contains the dimension (for example, length) and the unit (for example, inches). It also include properties for formating a measurement value.
| Constructor Summary | |
MeasurementProperties(DimensionId dimensionId,
UnitId defaultUnitId,
byte decimalPlaces,
boolean displayedAsFraction)
Constructs with the specified parameters. |
|
| Method Summary | |
boolean |
equals(Object obj)
|
byte |
getDecimalPlaces()
Returns the decimal places for the measurement. |
UnitId |
getDefaultUnitId()
Returns the default unit. |
DimensionId |
getDimensionId()
Returns the dimension for the measurement |
int |
hashCode()
|
boolean |
isDisplayedAsFraction()
Indicates whether the measurement value is display as fraction. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MeasurementProperties(DimensionId dimensionId,
UnitId defaultUnitId,
byte decimalPlaces,
boolean displayedAsFraction)
dimensionId - the dimension IddefaultUnitId - the default unit IddecimalPlaces - the number of decimal placesdisplayedAsFraction - whether to display in fraction form| Method Detail |
public DimensionId getDimensionId()
public UnitId getDefaultUnitId()
public byte getDecimalPlaces()
public boolean isDisplayedAsFraction()
true for display as fraction, otherwise falsepublic int hashCode()
public boolean equals(Object obj)
public String toString()
|
|||||||||||
| 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.