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

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

public class UnitLiteralImpl
extends UnitImpl
implements UnitLiteral

An implementation of the model object 'Unit Literal'.

The following features are implemented:


Field Summary
protected  BaseUnit baseUnit
          The cached value of the 'Base Unit' reference.
static String copyright
           
 
Constructor Summary
protected UnitLiteralImpl()
           
 
Method Summary
 BaseUnit basicGetBaseUnit()
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 BaseUnit getBaseUnit()
           
 void setBaseUnit(BaseUnit newBaseUnit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

baseUnit

protected BaseUnit baseUnit
The cached value of the 'Base Unit' reference.

See Also:
getBaseUnit()
Constructor Detail

UnitLiteralImpl

protected UnitLiteralImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class UnitImpl

getBaseUnit

public BaseUnit getBaseUnit()

Specified by:
getBaseUnit in interface UnitLiteral
Returns:
the value of the 'Base Unit' reference.
See Also:
UnitLiteral.setBaseUnit(BaseUnit), UnitsPackage.getUnitLiteral_BaseUnit()

basicGetBaseUnit

public BaseUnit basicGetBaseUnit()


setBaseUnit

public void setBaseUnit(BaseUnit newBaseUnit)

Specified by:
setBaseUnit in interface UnitLiteral
Parameters:
newBaseUnit - the new value of the 'Base Unit' reference.
See Also:
UnitLiteral.getBaseUnit()

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)