org.eclipse.birt.chart.model.component.impl
Class ScaleImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.birt.chart.model.component.impl.ScaleImpl
All Implemented Interfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, Scale

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 inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class 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
 org.eclipse.emf.common.notify.NotificationChain basicSetMax(DataElement newMax, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetMin(DataElement newMin, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 DataElement getMax()
           
 DataElement getMin()
           
 int getMinorGridsPerUnit()
           
 double getStep()
           
 ScaleUnitType getUnit()
           
 boolean isSetMinorGridsPerUnit()
           
 boolean isSetStep()
           
 boolean isSetUnit()
           
 void setMax(DataElement newMax)
           
 void setMin(DataElement newMin)
           
 void setMinorGridsPerUnit(int newMinorGridsPerUnit)
           
 void setStep(double newStep)
           
 void setUnit(ScaleUnitType newUnit)
           
 java.lang.String toString()
           
 void unsetMinorGridsPerUnit()
           
 void unsetStep()
           
 void unsetUnit()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eInverseAdd, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment
 
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, eIsProxy, eResource
 
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

getMin

public DataElement getMin()

Specified by:
getMin in interface Scale
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:
setMin in interface Scale
Parameters:
newMin - the new value of the 'Min' containment reference.
See Also:
Scale.getMin()

getMax

public DataElement getMax()

Specified by:
getMax in interface Scale
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:
setMax in interface Scale
Parameters:
newMax - the new value of the 'Max' containment reference.
See Also:
Scale.getMax()

getStep

public double getStep()

Specified by:
getStep in interface Scale
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:
setStep in interface Scale
Parameters:
newStep - the new value of the 'Step' attribute.
See Also:
Scale.isSetStep(), Scale.unsetStep(), Scale.getStep()

unsetStep

public void unsetStep()

Specified by:
unsetStep in interface Scale
See Also:
Scale.isSetStep(), Scale.getStep(), Scale.setStep(double)

isSetStep

public boolean isSetStep()

Specified by:
isSetStep in interface Scale
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:
getUnit in interface Scale
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:
setUnit in interface Scale
Parameters:
newUnit - the new value of the 'Unit' attribute.
See Also:
ScaleUnitType, Scale.isSetUnit(), Scale.unsetUnit(), Scale.getUnit()

unsetUnit

public void unsetUnit()

Specified by:
unsetUnit in interface Scale
See Also:
Scale.isSetUnit(), Scale.getUnit(), Scale.setUnit(ScaleUnitType)

isSetUnit

public boolean isSetUnit()

Specified by:
isSetUnit in interface Scale
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:
getMinorGridsPerUnit in interface Scale
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:
setMinorGridsPerUnit in interface Scale
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:
unsetMinorGridsPerUnit in interface Scale
See Also:
Scale.isSetMinorGridsPerUnit(), Scale.getMinorGridsPerUnit(), Scale.setMinorGridsPerUnit(int)

isSetMinorGridsPerUnit

public boolean isSetMinorGridsPerUnit()

Specified by:
isSetMinorGridsPerUnit in interface Scale
Returns:
whether the value of the 'Minor Grids Per Unit' attribute is set.
See Also:
Scale.unsetMinorGridsPerUnit(), Scale.getMinorGridsPerUnit(), Scale.setMinorGridsPerUnit(int)

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject

toString

public java.lang.String toString()



Copyright © 2005 Actuate Corp. All rights reserved.