|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sap.mdm.valuetypes.format.MdmNumberFormatInfo
com.sap.mdm.valuetypes.format.MdmMeasurementFormatInfo
Measurement format definition
| Field Summary |
| Fields inherited from interface com.sap.mdm.valuetypes.format.MdmFormatInfo |
CURRANCY_FORMAT_TYPE, DATE_TIME_FORMAT_TYPE, MEASUREMENT_FORMAT_TYPE, NUMBER_FORMAT_TYPE |
| Constructor Summary | |
MdmMeasurementFormatInfo()
Empty constructor |
|
MdmMeasurementFormatInfo(Locale locale)
Constructor |
|
MdmMeasurementFormatInfo(MdmNumberFormatInfo other)
Copy constructor |
|
| Method Summary | |
DimensionId |
getDimensionId()
Returns ID of dimension |
int |
getType()
Returns type of format info |
UnitId |
getUnitIdFrom()
Returns the ID of source UOM |
UnitId |
getUnitIdTo()
Returns the ID of destination UOM |
boolean |
isUseUomSuffix()
Indicates what should be used for UOM presentation: suffix or full name of UOM |
void |
setDimensionId(DimensionId dimensionId)
Sets the dimension ID |
void |
setUnitIdFrom(UnitId unitIdFrom)
Sets the ID of source UOM |
void |
setUnitIdTo(UnitId unitIdTo)
Sets the ID of destination UOM |
void |
setUseUomSuffix(boolean useUomSuffix)
Specify what should be used for representing UOM: suffix or full name of UOM |
| Methods inherited from class com.sap.mdm.valuetypes.format.MdmNumberFormatInfo |
getDecimalSeparator, getFormatPattern, getFractionType, getGroupingSeparator, getGroupingSize, getIntegerDigits, getLocale, getMaxFractionDigits, getMinFractionDigits, isAllowENotation, isTreatAsDouble, setAllowENotation, setDecimalSeparator, setFormatPattern, setFractionType, setGroupingSeparator, setGroupingSize, setIntegerDigits, setLocale, setMaxFractionDigits, setMinFractionDigits, setTreatAsDouble |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MdmMeasurementFormatInfo()
public MdmMeasurementFormatInfo(Locale locale)
locale - public MdmMeasurementFormatInfo(MdmNumberFormatInfo other)
| Method Detail |
public int getType()
MdmFormatInfo
getType in interface MdmFormatInfogetType in class MdmNumberFormatInfopublic boolean isUseUomSuffix()
true if suffix of UOM will be used, false otherwise.
the full name of UOM will be usedpublic void setUseUomSuffix(boolean useUomSuffix)
useUomSuffix - the asSuffix to setpublic DimensionId getDimensionId()
public void setDimensionId(DimensionId dimensionId)
dimensionId - the dimension ID to setpublic UnitId getUnitIdFrom()
public void setUnitIdFrom(UnitId unitIdFrom)
unitIdFrom - the ID of source UOM to setpublic UnitId getUnitIdTo()
public void setUnitIdTo(UnitId unitIdTo)
unitIdTo - the ID of destination UOM to set
|
|||||||||||
| 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.