Class FractionNumberFormatSpecifierImpl
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.FractionNumberFormatSpecifierImpl
- All Implemented Interfaces:
FormatSpecifier
,FractionNumberFormatSpecifier
,IChartObject
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
public class FractionNumberFormatSpecifierImpl
extends FormatSpecifierImpl
implements FractionNumberFormatSpecifier
-
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.EScannableAdapterList
Nested 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_FLAG
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
A convenience methods provided to create an initialized NumberFormatSpecifier instance NOTE: Manually writteneGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) void
void
eUnset
(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 rulesint
double
boolean
boolean
boolean
boolean
boolean
void
setDelimiter
(String newDelimiter) void
setFractionDigits
(int newFractionDigits) void
setNumerator
(double newNumerator) void
setPrecise
(boolean newPrecise) void
void
toString()
void
void
void
void
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
Methods 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, eVirtualUnset
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
isPrecise
public boolean isPrecise()- Specified by:
isPrecise
in interfaceFractionNumberFormatSpecifier
- Returns:
- the value of the 'Precise' attribute.
- See Also:
-
setPrecise
public void setPrecise(boolean newPrecise) - Specified by:
setPrecise
in interfaceFractionNumberFormatSpecifier
- Parameters:
newPrecise
- the new value of the 'Precise' attribute.- See Also:
-
unsetPrecise
public void unsetPrecise() -
isSetPrecise
public boolean isSetPrecise()- Specified by:
isSetPrecise
in interfaceFractionNumberFormatSpecifier
- Returns:
- whether the value of the 'Precise' attribute is set.
- See Also:
-
getFractionDigits
public int getFractionDigits()- Specified by:
getFractionDigits
in interfaceFractionNumberFormatSpecifier
- Returns:
- the value of the 'Fraction Digits' attribute.
- See Also:
-
setFractionDigits
public void setFractionDigits(int newFractionDigits) - Specified by:
setFractionDigits
in interfaceFractionNumberFormatSpecifier
- Parameters:
newFractionDigits
- the new value of the 'Fraction Digits' attribute.- See Also:
-
unsetFractionDigits
public void unsetFractionDigits() -
isSetFractionDigits
public boolean isSetFractionDigits()- Specified by:
isSetFractionDigits
in interfaceFractionNumberFormatSpecifier
- Returns:
- whether the value of the 'Fraction Digits' attribute is set.
- See Also:
-
getNumerator
public double getNumerator()- Specified by:
getNumerator
in interfaceFractionNumberFormatSpecifier
- Returns:
- the value of the 'Numerator' attribute.
- See Also:
-
setNumerator
public void setNumerator(double newNumerator) - Specified by:
setNumerator
in interfaceFractionNumberFormatSpecifier
- Parameters:
newNumerator
- the new value of the 'Numerator' attribute.- See Also:
-
unsetNumerator
public void unsetNumerator() -
isSetNumerator
public boolean isSetNumerator()- Specified by:
isSetNumerator
in interfaceFractionNumberFormatSpecifier
- Returns:
- whether the value of the 'Numerator' attribute is set.
- See Also:
-
getPrefix
- Specified by:
getPrefix
in interfaceFractionNumberFormatSpecifier
- Returns:
- the value of the 'Prefix' attribute.
- See Also:
-
setPrefix
- Specified by:
setPrefix
in interfaceFractionNumberFormatSpecifier
- Parameters:
newPrefix
- the new value of the 'Prefix' attribute.- See Also:
-
getSuffix
- Specified by:
getSuffix
in interfaceFractionNumberFormatSpecifier
- Returns:
- the value of the 'Suffix' attribute.
- See Also:
-
setSuffix
- Specified by:
setSuffix
in interfaceFractionNumberFormatSpecifier
- Parameters:
newSuffix
- the new value of the 'Suffix' attribute.- See Also:
-
getDelimiter
- Specified by:
getDelimiter
in interfaceFractionNumberFormatSpecifier
- Returns:
- the value of the 'Delimiter' attribute.
- See Also:
-
setDelimiter
- Specified by:
setDelimiter
in interfaceFractionNumberFormatSpecifier
- Parameters:
newDelimiter
- the new value of the 'Delimiter' attribute.- See Also:
-
unsetDelimiter
public void unsetDelimiter() -
isSetDelimiter
public boolean isSetDelimiter()- Specified by:
isSetDelimiter
in interfaceFractionNumberFormatSpecifier
- Returns:
- whether the value of the 'Delimiter' attribute is set.
- See Also:
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID) - Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
- Overrides:
toString
in 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:FractionNumberFormatSpecifier
Formats a value using the internally defined format specifier rules- Specified by:
format
in interfaceFractionNumberFormatSpecifier
- Returns:
- A formatted string representation of the numerical value provided
-
format
Description copied from interface:FractionNumberFormatSpecifier
Formats a value using the internally defined format specifier rules- Specified by:
format
in interfaceFractionNumberFormatSpecifier
- Returns:
- A formatted string representation of the numerical value provided
-
copyInstance
- Specified by:
copyInstance
in interfaceFormatSpecifier
- Specified by:
copyInstance
in interfaceFractionNumberFormatSpecifier
- Specified by:
copyInstance
in interfaceIChartObject
- Overrides:
copyInstance
in classFormatSpecifierImpl
-