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, eSetProxyURI
eAllContents, 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, eVirtualUnset
eNotificationRequired, eNotify
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
public java.lang.String getPrefix()
getPrefix
in interface NumberFormatSpecifier
NumberFormatSpecifier.setPrefix(String)
,
AttributePackage.getNumberFormatSpecifier_Prefix()
public void setPrefix(java.lang.String newPrefix)
setPrefix
in interface NumberFormatSpecifier
newPrefix
- the new value of the 'Prefix' attribute.NumberFormatSpecifier.getPrefix()
public java.lang.String getSuffix()
getSuffix
in interface NumberFormatSpecifier
NumberFormatSpecifier.setSuffix(String)
,
AttributePackage.getNumberFormatSpecifier_Suffix()
public void setSuffix(java.lang.String newSuffix)
setSuffix
in interface NumberFormatSpecifier
newSuffix
- the new value of the 'Suffix' attribute.NumberFormatSpecifier.getSuffix()
public double getMultiplier()
getMultiplier
in interface NumberFormatSpecifier
NumberFormatSpecifier.isSetMultiplier()
,
NumberFormatSpecifier.unsetMultiplier()
,
NumberFormatSpecifier.setMultiplier(double)
,
AttributePackage.getNumberFormatSpecifier_Multiplier()
public void setMultiplier(double newMultiplier)
setMultiplier
in interface NumberFormatSpecifier
newMultiplier
- the new value of the 'Multiplier' attribute.NumberFormatSpecifier.isSetMultiplier()
,
NumberFormatSpecifier.unsetMultiplier()
,
NumberFormatSpecifier.getMultiplier()
public void unsetMultiplier()
unsetMultiplier
in interface NumberFormatSpecifier
NumberFormatSpecifier.isSetMultiplier()
,
NumberFormatSpecifier.getMultiplier()
,
NumberFormatSpecifier.setMultiplier(double)
public boolean isSetMultiplier()
isSetMultiplier
in interface NumberFormatSpecifier
NumberFormatSpecifier.unsetMultiplier()
,
NumberFormatSpecifier.getMultiplier()
,
NumberFormatSpecifier.setMultiplier(double)
public int getFractionDigits()
getFractionDigits
in interface NumberFormatSpecifier
NumberFormatSpecifier.isSetFractionDigits()
,
NumberFormatSpecifier.unsetFractionDigits()
,
NumberFormatSpecifier.setFractionDigits(int)
,
AttributePackage.getNumberFormatSpecifier_FractionDigits()
public void setFractionDigits(int newFractionDigits)
setFractionDigits
in interface NumberFormatSpecifier
newFractionDigits
- the new value of the 'Fraction Digits' attribute.NumberFormatSpecifier.isSetFractionDigits()
,
NumberFormatSpecifier.unsetFractionDigits()
,
NumberFormatSpecifier.getFractionDigits()
public void unsetFractionDigits()
unsetFractionDigits
in interface NumberFormatSpecifier
NumberFormatSpecifier.isSetFractionDigits()
,
NumberFormatSpecifier.getFractionDigits()
,
NumberFormatSpecifier.setFractionDigits(int)
public boolean isSetFractionDigits()
isSetFractionDigits
in interface NumberFormatSpecifier
NumberFormatSpecifier.unsetFractionDigits()
,
NumberFormatSpecifier.getFractionDigits()
,
NumberFormatSpecifier.setFractionDigits(int)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public static NumberFormatSpecifier create()
public java.lang.String format(double dValue, java.util.Locale lo)
NumberFormatSpecifier
format
in interface NumberFormatSpecifier
public java.lang.String format(double dValue, com.ibm.icu.util.ULocale lo)
NumberFormatSpecifier
format
in interface NumberFormatSpecifier
public java.lang.String format(java.lang.Number number, com.ibm.icu.util.ULocale lo)
NumberFormatSpecifier
format
in interface NumberFormatSpecifier
public NumberFormatSpecifier copyInstance()
copyInstance
in interface FormatSpecifier
copyInstance
in interface NumberFormatSpecifier
copyInstance
in interface IChartObject
copyInstance
in class FormatSpecifierImpl
Copyright © 2005-2008 Actuate Corp. All rights reserved.