org.eclipse.ocl.examples.pivot.values
Interface RealValue
- All Superinterfaces:
- java.lang.Comparable<NumericValue>, NumericValue, Value
- All Known Subinterfaces:
- InvalidValue, NullValue
- All Known Implementing Classes:
- AbstractUndefinedCollectionValue, AbstractUndefinedValue, InvalidValueImpl, NullValueImpl, OCLConsolePage.ExceptionValue, RealValueImpl
public interface RealValue
- extends NumericValue
Fields inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
INVALID_NAME |
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.Value |
asBagValue, asBoolean, asBooleanValue, asCollectionValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, asValidValue, getType, getValueFactory, isCollectionValue, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toRealValue, toString |
Methods inherited from interface java.lang.Comparable |
compareTo |
abs
RealValue abs()
throws InvalidValueException
- Specified by:
abs
in interface NumericValue
- Throws:
InvalidValueException
add
RealValue add(RealValue right)
throws InvalidValueException
- Throws:
InvalidValueException
divide
RealValue divide(RealValue right)
throws InvalidValueException
- Throws:
InvalidValueException
floor
IntegerValue floor()
throws InvalidValueException
- Throws:
InvalidValueException
max
RealValue max(RealValue right)
throws InvalidValueException
- Throws:
InvalidValueException
min
RealValue min(RealValue right)
throws InvalidValueException
- Throws:
InvalidValueException
multiply
RealValue multiply(RealValue right)
throws InvalidValueException
- Throws:
InvalidValueException
negate
RealValue negate()
throws InvalidValueException
- Specified by:
negate
in interface NumericValue
- Throws:
InvalidValueException
round
IntegerValue round()
throws InvalidValueException
- Throws:
InvalidValueException
signum
int signum()
throws InvalidValueException
- Specified by:
signum
in interface NumericValue
- Throws:
InvalidValueException
subtract
RealValue subtract(RealValue right)
throws InvalidValueException
- Throws:
InvalidValueException