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, unsetMinimum
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBase_DataType, getEpsilon, getMaximum, getMinimum, isSetEpsilon, isSetMaximum, isSetMinimum, setBase_DataType, setEpsilon, setMaximum, setMinimum, unsetEpsilon, unsetMaximum, unsetMinimum
public boolean isBitTrue()
isBitTrue
in interface FixedPoint
FixedPoint.setBitTrue(boolean)
,
OCLforUMLPackage.getFixedPoint_BitTrue()
public void setBitTrue(boolean newBitTrue)
setBitTrue
in interface FixedPoint
newBitTrue
- the new value of the 'Bit True' attribute.FixedPoint.isBitTrue()
public int getFractionalBits()
getFractionalBits
in interface FixedPoint
FixedPoint.setFractionalBits(int)
,
OCLforUMLPackage.getFixedPoint_FractionalBits()
public void setFractionalBits(int newFractionalBits)
setFractionalBits
in interface FixedPoint
newFractionalBits
- the new value of the 'Fractional Bits' attribute.FixedPoint.getFractionalBits()
public int getIntegerBits()
getIntegerBits
in interface FixedPoint
FixedPoint.setIntegerBits(int)
,
OCLforUMLPackage.getFixedPoint_IntegerBits()
public void setIntegerBits(int newIntegerBits)
setIntegerBits
in interface FixedPoint
newIntegerBits
- the new value of the 'Integer Bits' attribute.FixedPoint.getIntegerBits()
public Overflow getOverflow()
getOverflow
in interface FixedPoint
Overflow
,
FixedPoint.setOverflow(Overflow)
,
OCLforUMLPackage.getFixedPoint_Overflow()
public void setOverflow(Overflow newOverflow)
setOverflow
in interface FixedPoint
newOverflow
- the new value of the 'Overflow' attribute.Overflow
,
FixedPoint.getOverflow()
public Rounding getRounding()
getRounding
in interface FixedPoint
Rounding
,
FixedPoint.setRounding(Rounding)
,
OCLforUMLPackage.getFixedPoint_Rounding()
public void setRounding(Rounding newRounding)
setRounding
in interface FixedPoint
newRounding
- 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.