public class NumberFormatSpecifierImpl extends FormatSpecifierImpl implements NumberFormatSpecifier
The following features are implemented:
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList| Modifier and Type | Method and Description |
|---|---|
NumberFormatSpecifier |
copyInstance() |
static NumberFormatSpecifier |
create()
A convenience methods provided to create an initialized
NumberFormatSpecifier instance
NOTE: Manually written
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eUnset(int featureID) |
java.lang.String |
format(double dValue,
java.util.Locale lo)
Formats a value using the internally defined format specifier rules
|
java.lang.String |
format(double dValue,
com.ibm.icu.util.ULocale lo)
Formats a value using the internally defined format specifier rules
|
java.lang.String |
format(java.lang.Number number,
com.ibm.icu.util.ULocale lo)
Returns a formatted string representation of specified number.
|
int |
getFractionDigits() |
double |
getMultiplier() |
java.lang.String |
getPrefix() |
java.lang.String |
getSuffix() |
boolean |
isSetFractionDigits() |
boolean |
isSetMultiplier() |
void |
setFractionDigits(int newFractionDigits) |
void |
setMultiplier(double newMultiplier) |
void |
setPrefix(java.lang.String newPrefix) |
void |
setSuffix(java.lang.String newSuffix) |
java.lang.String |
toString() |
void |
unsetFractionDigits() |
void |
unsetMultiplier() |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic java.lang.String getPrefix()
getPrefix in interface NumberFormatSpecifierNumberFormatSpecifier.setPrefix(String),
AttributePackage.getNumberFormatSpecifier_Prefix()public void setPrefix(java.lang.String newPrefix)
setPrefix in interface NumberFormatSpecifiernewPrefix - the new value of the 'Prefix' attribute.NumberFormatSpecifier.getPrefix()public java.lang.String getSuffix()
getSuffix in interface NumberFormatSpecifierNumberFormatSpecifier.setSuffix(String),
AttributePackage.getNumberFormatSpecifier_Suffix()public void setSuffix(java.lang.String newSuffix)
setSuffix in interface NumberFormatSpecifiernewSuffix - the new value of the 'Suffix' attribute.NumberFormatSpecifier.getSuffix()public double getMultiplier()
getMultiplier in interface NumberFormatSpecifierNumberFormatSpecifier.isSetMultiplier(),
NumberFormatSpecifier.unsetMultiplier(),
NumberFormatSpecifier.setMultiplier(double),
AttributePackage.getNumberFormatSpecifier_Multiplier()public void setMultiplier(double newMultiplier)
setMultiplier in interface NumberFormatSpecifiernewMultiplier - the new value of the 'Multiplier' attribute.NumberFormatSpecifier.isSetMultiplier(),
NumberFormatSpecifier.unsetMultiplier(),
NumberFormatSpecifier.getMultiplier()public void unsetMultiplier()
unsetMultiplier in interface NumberFormatSpecifierNumberFormatSpecifier.isSetMultiplier(),
NumberFormatSpecifier.getMultiplier(),
NumberFormatSpecifier.setMultiplier(double)public boolean isSetMultiplier()
isSetMultiplier in interface NumberFormatSpecifierNumberFormatSpecifier.unsetMultiplier(),
NumberFormatSpecifier.getMultiplier(),
NumberFormatSpecifier.setMultiplier(double)public int getFractionDigits()
getFractionDigits in interface NumberFormatSpecifierNumberFormatSpecifier.isSetFractionDigits(),
NumberFormatSpecifier.unsetFractionDigits(),
NumberFormatSpecifier.setFractionDigits(int),
AttributePackage.getNumberFormatSpecifier_FractionDigits()public void setFractionDigits(int newFractionDigits)
setFractionDigits in interface NumberFormatSpecifiernewFractionDigits - the new value of the 'Fraction Digits' attribute.NumberFormatSpecifier.isSetFractionDigits(),
NumberFormatSpecifier.unsetFractionDigits(),
NumberFormatSpecifier.getFractionDigits()public void unsetFractionDigits()
unsetFractionDigits in interface NumberFormatSpecifierNumberFormatSpecifier.isSetFractionDigits(),
NumberFormatSpecifier.getFractionDigits(),
NumberFormatSpecifier.setFractionDigits(int)public boolean isSetFractionDigits()
isSetFractionDigits in interface NumberFormatSpecifierNumberFormatSpecifier.unsetFractionDigits(),
NumberFormatSpecifier.getFractionDigits(),
NumberFormatSpecifier.setFractionDigits(int)public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic java.lang.String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic static NumberFormatSpecifier create()
public java.lang.String format(double dValue,
java.util.Locale lo)
NumberFormatSpecifierformat in interface NumberFormatSpecifierpublic java.lang.String format(double dValue,
com.ibm.icu.util.ULocale lo)
NumberFormatSpecifierformat in interface NumberFormatSpecifierpublic java.lang.String format(java.lang.Number number,
com.ibm.icu.util.ULocale lo)
NumberFormatSpecifierformat in interface NumberFormatSpecifierpublic NumberFormatSpecifier copyInstance()
copyInstance in interface FormatSpecifiercopyInstance in interface NumberFormatSpecifiercopyInstance in interface IChartObjectcopyInstance in class FormatSpecifierImplCopyright © 2005-2008 Actuate Corp. All rights reserved.