de.uka.ipd.sdq.units.impl
Class UnitPowerImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.units.impl.UnitImpl
          extended by de.uka.ipd.sdq.units.impl.UnitPowerImpl
All Implemented Interfaces:
Unit, UnitPower

public class UnitPowerImpl
extends UnitImpl
implements UnitPower

An implementation of the model object 'Unit Power'.

The following features are implemented:


Field Summary
static String copyright
           
protected  int exponent
          The cached value of the 'Exponent' attribute.
protected static int EXPONENT_EDEFAULT
          The default value of the 'Exponent' attribute.
protected  Unit unit
          The cached value of the 'Unit' containment reference.
 
Constructor Summary
protected UnitPowerImpl()
           
 
Method Summary
 NotificationChain basicSetUnit(Unit newUnit, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getExponent()
           
 Unit getUnit()
           
 void setExponent(int newExponent)
           
 void setUnit(Unit newUnit)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

unit

protected Unit unit
The cached value of the 'Unit' containment reference.

See Also:
getUnit()

EXPONENT_EDEFAULT

protected static final int EXPONENT_EDEFAULT
The default value of the 'Exponent' attribute.

See Also:
getExponent(), Constant Field Values

exponent

protected int exponent
The cached value of the 'Exponent' attribute.

See Also:
getExponent()
Constructor Detail

UnitPowerImpl

protected UnitPowerImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class UnitImpl

getUnit

public Unit getUnit()

Specified by:
getUnit in interface UnitPower
Returns:
the value of the 'Unit' containment reference.
See Also:
UnitPower.setUnit(Unit), UnitsPackage.getUnitPower_Unit()

basicSetUnit

public NotificationChain basicSetUnit(Unit newUnit,
                                      NotificationChain msgs)


setUnit

public void setUnit(Unit newUnit)

Specified by:
setUnit in interface UnitPower
Parameters:
newUnit - the new value of the 'Unit' containment reference.
See Also:
UnitPower.getUnit()

getExponent

public int getExponent()

Specified by:
getExponent in interface UnitPower
Returns:
the value of the 'Exponent' attribute.
See Also:
UnitPower.setExponent(int), UnitsPackage.getUnitPower_Exponent()

setExponent

public void setExponent(int newExponent)

Specified by:
setExponent in interface UnitPower
Parameters:
newExponent - the new value of the 'Exponent' attribute.
See Also:
UnitPower.getExponent()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()