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

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.units.impl.UnitCarryingElementImpl
All Implemented Interfaces:
UnitCarryingElement
Direct Known Subclasses:
NumericLiteralImpl, ProbabilityFunctionImpl, TimeValueImpl

public abstract class UnitCarryingElementImpl
extends EObjectImpl
implements UnitCarryingElement

An implementation of the model object 'Unit Carrying Element'.

The following features are implemented:


Field Summary
static String copyright
           
protected static String UNIT_SPECIFICATION_EDEFAULT
          The default value of the 'Unit Specification' attribute.
protected  String unitSpecification
          The cached value of the 'Unit Specification' attribute.
 
Constructor Summary
protected UnitCarryingElementImpl()
           
 
Method Summary
 Unit basicGetUnit()
           
 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)
           
 Unit getUnit()
           
 String getUnitSpecification()
           
 void setUnitSpecification(String newUnitSpecification)
           
 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_SPECIFICATION_EDEFAULT

protected static final String UNIT_SPECIFICATION_EDEFAULT
The default value of the 'Unit Specification' attribute.

See Also:
getUnitSpecification()

unitSpecification

protected String unitSpecification
The cached value of the 'Unit Specification' attribute.

See Also:
getUnitSpecification()
Constructor Detail

UnitCarryingElementImpl

protected UnitCarryingElementImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getUnit

public Unit getUnit()

Specified by:
getUnit in interface UnitCarryingElement
Returns:
the value of the 'Unit' reference.
See Also:
UnitsPackage.getUnitCarryingElement_Unit()

basicGetUnit

public Unit basicGetUnit()


getUnitSpecification

public String getUnitSpecification()

Specified by:
getUnitSpecification in interface UnitCarryingElement
Returns:
the value of the 'Unit Specification' attribute.
See Also:
UnitCarryingElement.setUnitSpecification(String), UnitsPackage.getUnitCarryingElement_UnitSpecification()

setUnitSpecification

public void setUnitSpecification(String newUnitSpecification)

Specified by:
setUnitSpecification in interface UnitCarryingElement
Parameters:
newUnitSpecification - the new value of the 'Unit Specification' attribute.
See Also:
UnitCarryingElement.getUnitSpecification()

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()