|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
public class NumberFormatSpecifierImpl
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 java.lang.Object & org.eclipse.emf.common.notify.Adapter> |
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 | |
---|---|
NumberFormatSpecifier |
copyInstance()
A convenient method to get an instance copy. |
static NumberFormatSpecifier |
create()
A convenience methods provided to create an initialized NumberFormatSpecifier instance NOTE: Manually written |
static NumberFormatSpecifier |
create(org.eclipse.emf.ecore.EObject parent,
org.eclipse.emf.ecore.EReference ref)
|
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 |
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()
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
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 NumberFormatSpecifier copyInstance()
copyInstance
in interface FormatSpecifier
copyInstance
in interface NumberFormatSpecifier
copyInstance
in class FormatSpecifierImpl
public static NumberFormatSpecifier create(org.eclipse.emf.ecore.EObject parent, org.eclipse.emf.ecore.EReference ref)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |