Class ScaleImpl
- 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.component.impl.ScaleImpl
-
- All Implemented Interfaces:
Scale,IChartObject,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class ScaleImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Scale
An implementation of the model object ' Scale'.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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChainbasicSetMax(DataElement newMax, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChainbasicSetMin(DataElement newMin, org.eclipse.emf.common.notify.NotificationChain msgs)ScalecopyInstance()java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)voideUnset(int featureID)doublegetFactor()intgetMajorGridsStepNumber()DataElementgetMax()DataElementgetMin()intgetMinorGridsPerUnit()doublegetStep()intgetStepNumber()ScaleUnitTypegetUnit()booleanisAutoExpand()booleanisSetAutoExpand()booleanisSetFactor()booleanisSetMajorGridsStepNumber()booleanisSetMinorGridsPerUnit()booleanisSetShowOutside()booleanisSetStep()booleanisSetStepNumber()booleanisSetTickBetweenCategories()booleanisSetUnit()booleanisShowOutside()booleanisTickBetweenCategories()voidsetAutoExpand(boolean newAutoExpand)voidsetFactor(double newFactor)voidsetMajorGridsStepNumber(int newMajorGridsStepNumber)voidsetMax(DataElement newMax)voidsetMin(DataElement newMin)voidsetMinorGridsPerUnit(int newMinorGridsPerUnit)voidsetShowOutside(boolean newShowOutside)voidsetStep(double newStep)voidsetStepNumber(int newStepNumber)voidsetTickBetweenCategories(boolean newTickBetweenCategories)voidsetUnit(ScaleUnitType newUnit)java.lang.StringtoString()voidunsetAutoExpand()voidunsetFactor()voidunsetMajorGridsStepNumber()voidunsetMinorGridsPerUnit()voidunsetShowOutside()voidunsetStep()voidunsetStepNumber()voidunsetTickBetweenCategories()voidunsetUnit()-
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, 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
-
-
-
-
Method Detail
-
getMin
public DataElement getMin()
- Specified by:
getMinin interfaceScale- Returns:
- the value of the 'Min' containment reference.
- See Also:
Scale.setMin(DataElement),ComponentPackage.getScale_Min()
-
basicSetMin
public org.eclipse.emf.common.notify.NotificationChain basicSetMin(DataElement newMin, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setMin
public void setMin(DataElement newMin)
- Specified by:
setMinin interfaceScale- Parameters:
newMin- the new value of the 'Min' containment reference.- See Also:
Scale.getMin()
-
getMax
public DataElement getMax()
- Specified by:
getMaxin interfaceScale- Returns:
- the value of the 'Max' containment reference.
- See Also:
Scale.setMax(DataElement),ComponentPackage.getScale_Max()
-
basicSetMax
public org.eclipse.emf.common.notify.NotificationChain basicSetMax(DataElement newMax, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setMax
public void setMax(DataElement newMax)
- Specified by:
setMaxin interfaceScale- Parameters:
newMax- the new value of the 'Max' containment reference.- See Also:
Scale.getMax()
-
getStep
public double getStep()
- Specified by:
getStepin interfaceScale- Returns:
- the value of the 'Step' attribute.
- See Also:
Scale.isSetStep(),Scale.unsetStep(),Scale.setStep(double),ComponentPackage.getScale_Step()
-
setStep
public void setStep(double newStep)
- Specified by:
setStepin interfaceScale- Parameters:
newStep- the new value of the 'Step' attribute.- See Also:
Scale.isSetStep(),Scale.unsetStep(),Scale.getStep()
-
unsetStep
public void unsetStep()
- Specified by:
unsetStepin interfaceScale- See Also:
Scale.isSetStep(),Scale.getStep(),Scale.setStep(double)
-
isSetStep
public boolean isSetStep()
- Specified by:
isSetStepin interfaceScale- Returns:
- whether the value of the 'Step' attribute is set.
- See Also:
Scale.unsetStep(),Scale.getStep(),Scale.setStep(double)
-
getUnit
public ScaleUnitType getUnit()
- Specified by:
getUnitin interfaceScale- Returns:
- the value of the 'Unit' attribute.
- See Also:
ScaleUnitType,Scale.isSetUnit(),Scale.unsetUnit(),Scale.setUnit(ScaleUnitType),ComponentPackage.getScale_Unit()
-
setUnit
public void setUnit(ScaleUnitType newUnit)
- Specified by:
setUnitin interfaceScale- Parameters:
newUnit- the new value of the 'Unit' attribute.- See Also:
ScaleUnitType,Scale.isSetUnit(),Scale.unsetUnit(),Scale.getUnit()
-
unsetUnit
public void unsetUnit()
- Specified by:
unsetUnitin interfaceScale- See Also:
Scale.isSetUnit(),Scale.getUnit(),Scale.setUnit(ScaleUnitType)
-
isSetUnit
public boolean isSetUnit()
- Specified by:
isSetUnitin interfaceScale- Returns:
- whether the value of the 'Unit' attribute is set.
- See Also:
Scale.unsetUnit(),Scale.getUnit(),Scale.setUnit(ScaleUnitType)
-
getMinorGridsPerUnit
public int getMinorGridsPerUnit()
- Specified by:
getMinorGridsPerUnitin interfaceScale- Returns:
- the value of the 'Minor Grids Per Unit' attribute.
- See Also:
Scale.isSetMinorGridsPerUnit(),Scale.unsetMinorGridsPerUnit(),Scale.setMinorGridsPerUnit(int),ComponentPackage.getScale_MinorGridsPerUnit()
-
setMinorGridsPerUnit
public void setMinorGridsPerUnit(int newMinorGridsPerUnit)
- Specified by:
setMinorGridsPerUnitin interfaceScale- Parameters:
newMinorGridsPerUnit- the new value of the 'Minor Grids Per Unit' attribute.- See Also:
Scale.isSetMinorGridsPerUnit(),Scale.unsetMinorGridsPerUnit(),Scale.getMinorGridsPerUnit()
-
unsetMinorGridsPerUnit
public void unsetMinorGridsPerUnit()
- Specified by:
unsetMinorGridsPerUnitin interfaceScale- See Also:
Scale.isSetMinorGridsPerUnit(),Scale.getMinorGridsPerUnit(),Scale.setMinorGridsPerUnit(int)
-
isSetMinorGridsPerUnit
public boolean isSetMinorGridsPerUnit()
- Specified by:
isSetMinorGridsPerUnitin interfaceScale- Returns:
- whether the value of the 'Minor Grids Per Unit' attribute is set.
- See Also:
Scale.unsetMinorGridsPerUnit(),Scale.getMinorGridsPerUnit(),Scale.setMinorGridsPerUnit(int)
-
getStepNumber
public int getStepNumber()
- Specified by:
getStepNumberin interfaceScale- Returns:
- the value of the 'Step Number' attribute.
- See Also:
Scale.isSetStepNumber(),Scale.unsetStepNumber(),Scale.setStepNumber(int),ComponentPackage.getScale_StepNumber()
-
setStepNumber
public void setStepNumber(int newStepNumber)
- Specified by:
setStepNumberin interfaceScale- Parameters:
newStepNumber- the new value of the 'Step Number' attribute.- See Also:
Scale.isSetStepNumber(),Scale.unsetStepNumber(),Scale.getStepNumber()
-
unsetStepNumber
public void unsetStepNumber()
- Specified by:
unsetStepNumberin interfaceScale- See Also:
Scale.isSetStepNumber(),Scale.getStepNumber(),Scale.setStepNumber(int)
-
isSetStepNumber
public boolean isSetStepNumber()
- Specified by:
isSetStepNumberin interfaceScale- Returns:
- whether the value of the 'Step Number' attribute is set.
- See Also:
Scale.unsetStepNumber(),Scale.getStepNumber(),Scale.setStepNumber(int)
-
isShowOutside
public boolean isShowOutside()
- Specified by:
isShowOutsidein interfaceScale- Returns:
- the value of the 'Show Outside' attribute.
- See Also:
Scale.isSetShowOutside(),Scale.unsetShowOutside(),Scale.setShowOutside(boolean),ComponentPackage.getScale_ShowOutside()
-
setShowOutside
public void setShowOutside(boolean newShowOutside)
- Specified by:
setShowOutsidein interfaceScale- Parameters:
newShowOutside- the new value of the 'Show Outside' attribute.- See Also:
Scale.isSetShowOutside(),Scale.unsetShowOutside(),Scale.isShowOutside()
-
unsetShowOutside
public void unsetShowOutside()
- Specified by:
unsetShowOutsidein interfaceScale- See Also:
Scale.isSetShowOutside(),Scale.isShowOutside(),Scale.setShowOutside(boolean)
-
isSetShowOutside
public boolean isSetShowOutside()
- Specified by:
isSetShowOutsidein interfaceScale- Returns:
- whether the value of the 'Show Outside' attribute is set.
- See Also:
Scale.unsetShowOutside(),Scale.isShowOutside(),Scale.setShowOutside(boolean)
-
isTickBetweenCategories
public boolean isTickBetweenCategories()
- Specified by:
isTickBetweenCategoriesin interfaceScale- Returns:
- the value of the 'Tick Between Categories' attribute.
- See Also:
Scale.isSetTickBetweenCategories(),Scale.unsetTickBetweenCategories(),Scale.setTickBetweenCategories(boolean),ComponentPackage.getScale_TickBetweenCategories()
-
setTickBetweenCategories
public void setTickBetweenCategories(boolean newTickBetweenCategories)
- Specified by:
setTickBetweenCategoriesin interfaceScale- Parameters:
newTickBetweenCategories- the new value of the 'Tick Between Categories' attribute.- See Also:
Scale.isSetTickBetweenCategories(),Scale.unsetTickBetweenCategories(),Scale.isTickBetweenCategories()
-
unsetTickBetweenCategories
public void unsetTickBetweenCategories()
- Specified by:
unsetTickBetweenCategoriesin interfaceScale- See Also:
Scale.isSetTickBetweenCategories(),Scale.isTickBetweenCategories(),Scale.setTickBetweenCategories(boolean)
-
isSetTickBetweenCategories
public boolean isSetTickBetweenCategories()
- Specified by:
isSetTickBetweenCategoriesin interfaceScale- Returns:
- whether the value of the 'Tick Between Categories' attribute is set.
- See Also:
Scale.unsetTickBetweenCategories(),Scale.isTickBetweenCategories(),Scale.setTickBetweenCategories(boolean)
-
isAutoExpand
public boolean isAutoExpand()
- Specified by:
isAutoExpandin interfaceScale- Returns:
- the value of the 'Auto Expand' attribute.
- See Also:
Scale.isSetAutoExpand(),Scale.unsetAutoExpand(),Scale.setAutoExpand(boolean),ComponentPackage.getScale_AutoExpand()
-
setAutoExpand
public void setAutoExpand(boolean newAutoExpand)
- Specified by:
setAutoExpandin interfaceScale- Parameters:
newAutoExpand- the new value of the 'Auto Expand' attribute.- See Also:
Scale.isSetAutoExpand(),Scale.unsetAutoExpand(),Scale.isAutoExpand()
-
unsetAutoExpand
public void unsetAutoExpand()
- Specified by:
unsetAutoExpandin interfaceScale- See Also:
Scale.isSetAutoExpand(),Scale.isAutoExpand(),Scale.setAutoExpand(boolean)
-
isSetAutoExpand
public boolean isSetAutoExpand()
- Specified by:
isSetAutoExpandin interfaceScale- Returns:
- whether the value of the 'Auto Expand' attribute is set.
- See Also:
Scale.unsetAutoExpand(),Scale.isAutoExpand(),Scale.setAutoExpand(boolean)
-
getMajorGridsStepNumber
public int getMajorGridsStepNumber()
- Specified by:
getMajorGridsStepNumberin interfaceScale- Returns:
- the value of the 'Major Grids Step Number' attribute.
- See Also:
Scale.isSetMajorGridsStepNumber(),Scale.unsetMajorGridsStepNumber(),Scale.setMajorGridsStepNumber(int),ComponentPackage.getScale_MajorGridsStepNumber()
-
setMajorGridsStepNumber
public void setMajorGridsStepNumber(int newMajorGridsStepNumber)
- Specified by:
setMajorGridsStepNumberin interfaceScale- Parameters:
newMajorGridsStepNumber- the new value of the 'Major Grids Step Number' attribute.- See Also:
Scale.isSetMajorGridsStepNumber(),Scale.unsetMajorGridsStepNumber(),Scale.getMajorGridsStepNumber()
-
unsetMajorGridsStepNumber
public void unsetMajorGridsStepNumber()
- Specified by:
unsetMajorGridsStepNumberin interfaceScale- See Also:
Scale.isSetMajorGridsStepNumber(),Scale.getMajorGridsStepNumber(),Scale.setMajorGridsStepNumber(int)
-
isSetMajorGridsStepNumber
public boolean isSetMajorGridsStepNumber()
- Specified by:
isSetMajorGridsStepNumberin interfaceScale- Returns:
- whether the value of the 'Major Grids Step Number' attribute is set.
- See Also:
Scale.unsetMajorGridsStepNumber(),Scale.getMajorGridsStepNumber(),Scale.setMajorGridsStepNumber(int)
-
getFactor
public double getFactor()
- Specified by:
getFactorin interfaceScale- Returns:
- the value of the 'Factor' attribute.
- See Also:
Scale.isSetFactor(),Scale.unsetFactor(),Scale.setFactor(double),ComponentPackage.getScale_Factor()
-
setFactor
public void setFactor(double newFactor)
- Specified by:
setFactorin interfaceScale- Parameters:
newFactor- the new value of the 'Factor' attribute.- See Also:
Scale.isSetFactor(),Scale.unsetFactor(),Scale.getFactor()
-
unsetFactor
public void unsetFactor()
- Specified by:
unsetFactorin interfaceScale- See Also:
Scale.isSetFactor(),Scale.getFactor(),Scale.setFactor(double)
-
isSetFactor
public boolean isSetFactor()
- Specified by:
isSetFactorin interfaceScale- Returns:
- whether the value of the 'Factor' attribute is set.
- See Also:
Scale.unsetFactor(),Scale.getFactor(),Scale.setFactor(double)
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)- Overrides:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- 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
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
copyInstance
public Scale copyInstance()
- Specified by:
copyInstancein interfaceIChartObject- Specified by:
copyInstancein interfaceScale
-
-