|
||||||||||
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.FractionNumberFormatSpecifierImpl
public class FractionNumberFormatSpecifierImpl
An implementation of the model object 'Fraction 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 | |
---|---|
static FractionNumberFormatSpecifier |
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 |
getDelimiter()
|
int |
getFractionDigits()
|
double |
getNumerator()
|
java.lang.String |
getPrefix()
|
java.lang.String |
getSuffix()
|
boolean |
isPrecise()
|
boolean |
isSetDelimiter()
|
boolean |
isSetFractionDigits()
|
boolean |
isSetNumerator()
|
boolean |
isSetPrecise()
|
void |
setDelimiter(java.lang.String newDelimiter)
|
void |
setFractionDigits(int newFractionDigits)
|
void |
setNumerator(double newNumerator)
|
void |
setPrecise(boolean newPrecise)
|
void |
setPrefix(java.lang.String newPrefix)
|
void |
setSuffix(java.lang.String newSuffix)
|
java.lang.String |
toString()
|
void |
unsetDelimiter()
|
void |
unsetFractionDigits()
|
void |
unsetNumerator()
|
void |
unsetPrecise()
|
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 boolean isPrecise()
isPrecise
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetPrecise()
,
FractionNumberFormatSpecifier.unsetPrecise()
,
FractionNumberFormatSpecifier.setPrecise(boolean)
,
AttributePackage.getFractionNumberFormatSpecifier_Precise()
public void setPrecise(boolean newPrecise)
setPrecise
in interface FractionNumberFormatSpecifier
newPrecise
- the new value of the 'Precise' attribute.FractionNumberFormatSpecifier.isSetPrecise()
,
FractionNumberFormatSpecifier.unsetPrecise()
,
FractionNumberFormatSpecifier.isPrecise()
public void unsetPrecise()
unsetPrecise
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetPrecise()
,
FractionNumberFormatSpecifier.isPrecise()
,
FractionNumberFormatSpecifier.setPrecise(boolean)
public boolean isSetPrecise()
isSetPrecise
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.unsetPrecise()
,
FractionNumberFormatSpecifier.isPrecise()
,
FractionNumberFormatSpecifier.setPrecise(boolean)
public int getFractionDigits()
getFractionDigits
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetFractionDigits()
,
FractionNumberFormatSpecifier.unsetFractionDigits()
,
FractionNumberFormatSpecifier.setFractionDigits(int)
,
AttributePackage.getFractionNumberFormatSpecifier_FractionDigits()
public void setFractionDigits(int newFractionDigits)
setFractionDigits
in interface FractionNumberFormatSpecifier
newFractionDigits
- the new value of the 'Fraction Digits' attribute.FractionNumberFormatSpecifier.isSetFractionDigits()
,
FractionNumberFormatSpecifier.unsetFractionDigits()
,
FractionNumberFormatSpecifier.getFractionDigits()
public void unsetFractionDigits()
unsetFractionDigits
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetFractionDigits()
,
FractionNumberFormatSpecifier.getFractionDigits()
,
FractionNumberFormatSpecifier.setFractionDigits(int)
public boolean isSetFractionDigits()
isSetFractionDigits
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.unsetFractionDigits()
,
FractionNumberFormatSpecifier.getFractionDigits()
,
FractionNumberFormatSpecifier.setFractionDigits(int)
public double getNumerator()
getNumerator
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetNumerator()
,
FractionNumberFormatSpecifier.unsetNumerator()
,
FractionNumberFormatSpecifier.setNumerator(double)
,
AttributePackage.getFractionNumberFormatSpecifier_Numerator()
public void setNumerator(double newNumerator)
setNumerator
in interface FractionNumberFormatSpecifier
newNumerator
- the new value of the 'Numerator' attribute.FractionNumberFormatSpecifier.isSetNumerator()
,
FractionNumberFormatSpecifier.unsetNumerator()
,
FractionNumberFormatSpecifier.getNumerator()
public void unsetNumerator()
unsetNumerator
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetNumerator()
,
FractionNumberFormatSpecifier.getNumerator()
,
FractionNumberFormatSpecifier.setNumerator(double)
public boolean isSetNumerator()
isSetNumerator
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.unsetNumerator()
,
FractionNumberFormatSpecifier.getNumerator()
,
FractionNumberFormatSpecifier.setNumerator(double)
public java.lang.String getPrefix()
getPrefix
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.setPrefix(String)
,
AttributePackage.getFractionNumberFormatSpecifier_Prefix()
public void setPrefix(java.lang.String newPrefix)
setPrefix
in interface FractionNumberFormatSpecifier
newPrefix
- the new value of the 'Prefix' attribute.FractionNumberFormatSpecifier.getPrefix()
public java.lang.String getSuffix()
getSuffix
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.setSuffix(String)
,
AttributePackage.getFractionNumberFormatSpecifier_Suffix()
public void setSuffix(java.lang.String newSuffix)
setSuffix
in interface FractionNumberFormatSpecifier
newSuffix
- the new value of the 'Suffix' attribute.FractionNumberFormatSpecifier.getSuffix()
public java.lang.String getDelimiter()
getDelimiter
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetDelimiter()
,
FractionNumberFormatSpecifier.unsetDelimiter()
,
FractionNumberFormatSpecifier.setDelimiter(String)
,
AttributePackage.getFractionNumberFormatSpecifier_Delimiter()
public void setDelimiter(java.lang.String newDelimiter)
setDelimiter
in interface FractionNumberFormatSpecifier
newDelimiter
- the new value of the 'Delimiter' attribute.FractionNumberFormatSpecifier.isSetDelimiter()
,
FractionNumberFormatSpecifier.unsetDelimiter()
,
FractionNumberFormatSpecifier.getDelimiter()
public void unsetDelimiter()
unsetDelimiter
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.isSetDelimiter()
,
FractionNumberFormatSpecifier.getDelimiter()
,
FractionNumberFormatSpecifier.setDelimiter(String)
public boolean isSetDelimiter()
isSetDelimiter
in interface FractionNumberFormatSpecifier
FractionNumberFormatSpecifier.unsetDelimiter()
,
FractionNumberFormatSpecifier.getDelimiter()
,
FractionNumberFormatSpecifier.setDelimiter(String)
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 FractionNumberFormatSpecifier create()
public java.lang.String format(double dValue, java.util.Locale lo)
FractionNumberFormatSpecifier
format
in interface FractionNumberFormatSpecifier
public java.lang.String format(double dValue, com.ibm.icu.util.ULocale lo)
FractionNumberFormatSpecifier
format
in interface FractionNumberFormatSpecifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |