public class FixedPointImpl extends RealImpl implements FixedPoint
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
int |
getFractionalBits() |
int |
getIntegerBits() |
Overflow |
getOverflow() |
Rounding |
getRounding() |
boolean |
isBitTrue() |
void |
setBitTrue(boolean newBitTrue) |
void |
setFractionalBits(int newFractionalBits) |
void |
setIntegerBits(int newIntegerBits) |
void |
setOverflow(Overflow newOverflow) |
void |
setRounding(Rounding newRounding) |
String |
toString() |
basicGetBase_DataType, getBase_DataType, getEpsilon, getMaximum, getMinimum, isSetEpsilon, isSetMaximum, isSetMinimum, setBase_DataType, setEpsilon, setMaximum, setMinimum, unsetEpsilon, unsetMaximum, unsetMinimumequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBase_DataType, getEpsilon, getMaximum, getMinimum, isSetEpsilon, isSetMaximum, isSetMinimum, setBase_DataType, setEpsilon, setMaximum, setMinimum, unsetEpsilon, unsetMaximum, unsetMinimumpublic boolean isBitTrue()
isBitTrue in interface FixedPointFixedPoint.setBitTrue(boolean),
OCLforUMLPackage.getFixedPoint_BitTrue()public void setBitTrue(boolean newBitTrue)
setBitTrue in interface FixedPointnewBitTrue - the new value of the 'Bit True' attribute.FixedPoint.isBitTrue()public int getFractionalBits()
getFractionalBits in interface FixedPointFixedPoint.setFractionalBits(int),
OCLforUMLPackage.getFixedPoint_FractionalBits()public void setFractionalBits(int newFractionalBits)
setFractionalBits in interface FixedPointnewFractionalBits - the new value of the 'Fractional Bits' attribute.FixedPoint.getFractionalBits()public int getIntegerBits()
getIntegerBits in interface FixedPointFixedPoint.setIntegerBits(int),
OCLforUMLPackage.getFixedPoint_IntegerBits()public void setIntegerBits(int newIntegerBits)
setIntegerBits in interface FixedPointnewIntegerBits - the new value of the 'Integer Bits' attribute.FixedPoint.getIntegerBits()public Overflow getOverflow()
getOverflow in interface FixedPointOverflow,
FixedPoint.setOverflow(Overflow),
OCLforUMLPackage.getFixedPoint_Overflow()public void setOverflow(Overflow newOverflow)
setOverflow in interface FixedPointnewOverflow - the new value of the 'Overflow' attribute.Overflow,
FixedPoint.getOverflow()public Rounding getRounding()
getRounding in interface FixedPointRounding,
FixedPoint.setRounding(Rounding),
OCLforUMLPackage.getFixedPoint_Rounding()public void setRounding(Rounding newRounding)
setRounding in interface FixedPointnewRounding - the new value of the 'Rounding' attribute.Rounding,
FixedPoint.getRounding()public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID,
Object newValue)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.