public class PhysicalQuantityImpl extends QuantityImpl implements PhysicalQuantity
The following features are implemented:
Modifier and Type | Field and Description |
---|---|
protected Unit |
unit
The cached value of the '
Unit ' containment reference. |
SCALING_FACTOR_EDEFAULT, scalingFactor, value, VALUE_EDEFAULT
synched, SYNCHED_EDEFAULT
Modifier | Constructor and Description |
---|---|
protected |
PhysicalQuantityImpl() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
basicSetUnit(Unit newUnit,
NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
Unit |
getUnit() |
void |
setUnit(Unit newUnit) |
getScalingFactor, getValue, setScalingFactor, setValue, toString
isSynched, setSynched
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getScalingFactor, getValue, setScalingFactor, setValue
isSynched, setSynched
protected EClass eStaticClass()
eStaticClass
in class QuantityImpl
public Unit getUnit()
getUnit
in interface PhysicalQuantity
PhysicalQuantity.setUnit(Unit)
,
ValuesPackage.getPhysicalQuantity_Unit()
public NotificationChain basicSetUnit(Unit newUnit, NotificationChain msgs)
public void setUnit(Unit newUnit)
setUnit
in interface PhysicalQuantity
newUnit
- the new value of the 'Unit' containment reference.PhysicalQuantity.getUnit()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class QuantityImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in class QuantityImpl
public void eUnset(int featureID)
eUnset
in class QuantityImpl
public boolean eIsSet(int featureID)
eIsSet
in class QuantityImpl