Class NumberFormatSpecifierImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.birt.chart.model.attribute.impl.FormatSpecifierImpl
org.eclipse.birt.chart.model.attribute.impl.NumberFormatSpecifierImpl
- All Implemented Interfaces:
FormatSpecifier,NumberFormatSpecifier,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
An implementation of the model object ' Number
Format Specifier'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and TypeMethodDescriptionstatic NumberFormatSpecifiercreate()A convenience methods provided to create an initialized NumberFormatSpecifier instance NOTE: Manually writteneGet(int featureID, boolean resolve, boolean coreType) booleaneIsSet(int featureID) voidvoideUnset(int featureID) format(double dValue, com.ibm.icu.util.ULocale lo) Formats a value using the internally defined format specifier rulesFormats a value using the internally defined format specifier rulesReturns a formatted string representation of specified number.intdoublebooleanbooleanvoidsetFractionDigits(int newFractionDigits) voidsetMultiplier(double newMultiplier) voidvoidtoString()voidvoidMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getPrefix
- Specified by:
getPrefixin interfaceNumberFormatSpecifier- Returns:
- the value of the 'Prefix' attribute.
- See Also:
-
setPrefix
- Specified by:
setPrefixin interfaceNumberFormatSpecifier- Parameters:
newPrefix- the new value of the 'Prefix' attribute.- See Also:
-
getSuffix
- Specified by:
getSuffixin interfaceNumberFormatSpecifier- Returns:
- the value of the 'Suffix' attribute.
- See Also:
-
setSuffix
- Specified by:
setSuffixin interfaceNumberFormatSpecifier- Parameters:
newSuffix- the new value of the 'Suffix' attribute.- See Also:
-
getMultiplier
public double getMultiplier()- Specified by:
getMultiplierin interfaceNumberFormatSpecifier- Returns:
- the value of the 'Multiplier' attribute.
- See Also:
-
setMultiplier
public void setMultiplier(double newMultiplier) - Specified by:
setMultiplierin interfaceNumberFormatSpecifier- Parameters:
newMultiplier- the new value of the 'Multiplier' attribute.- See Also:
-
unsetMultiplier
public void unsetMultiplier()- Specified by:
unsetMultiplierin interfaceNumberFormatSpecifier- See Also:
-
isSetMultiplier
public boolean isSetMultiplier()- Specified by:
isSetMultiplierin interfaceNumberFormatSpecifier- Returns:
- whether the value of the 'Multiplier' attribute is set.
- See Also:
-
getFractionDigits
public int getFractionDigits()- Specified by:
getFractionDigitsin interfaceNumberFormatSpecifier- Returns:
- the value of the 'Fraction Digits' attribute.
- See Also:
-
setFractionDigits
public void setFractionDigits(int newFractionDigits) - Specified by:
setFractionDigitsin interfaceNumberFormatSpecifier- Parameters:
newFractionDigits- the new value of the 'Fraction Digits' attribute.- See Also:
-
unsetFractionDigits
public void unsetFractionDigits() -
isSetFractionDigits
public boolean isSetFractionDigits()- Specified by:
isSetFractionDigitsin interfaceNumberFormatSpecifier- Returns:
- whether the value of the 'Fraction Digits' attribute is set.
- See Also:
-
eGet
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
create
A convenience methods provided to create an initialized NumberFormatSpecifier instance NOTE: Manually written- Returns:
- this instance
-
format
Description copied from interface:NumberFormatSpecifierFormats a value using the internally defined format specifier rules- Specified by:
formatin interfaceNumberFormatSpecifier- Returns:
- A formatted string representation of the numerical value provided
-
format
Description copied from interface:NumberFormatSpecifierFormats a value using the internally defined format specifier rules- Specified by:
formatin interfaceNumberFormatSpecifier- Returns:
- A formatted string representation of the numerical value provided
-
format
Description copied from interface:NumberFormatSpecifierReturns a formatted string representation of specified number.- Specified by:
formatin interfaceNumberFormatSpecifier- Returns:
-
copyInstance
- Specified by:
copyInstancein interfaceFormatSpecifier- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceNumberFormatSpecifier- Overrides:
copyInstancein classFormatSpecifierImpl
-