org.eclipse.ocl.examples.pivot.values
Interface IntegerValue
- All Superinterfaces:
- java.lang.Comparable<NumericValue>, NumericValue, Value
- All Known Subinterfaces:
- InvalidValue, NullValue
- All Known Implementing Classes:
- AbstractUndefinedCollectionValue, AbstractUndefinedValue, IntegerValueImpl, InvalidValueImpl, NullValueImpl, OCLConsolePage.ExceptionValue
public interface IntegerValue
- 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 |
bigIntegerValue
java.math.BigInteger bigIntegerValue()
add
IntegerValue add(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException
div
IntegerValue div(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException
divide
RealValue divide(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException
max
IntegerValue max(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException
min
IntegerValue min(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException
mod
IntegerValue mod(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException
multiply
IntegerValue multiply(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException
negate
IntegerValue negate()
throws InvalidValueException
- Specified by:
negate
in interface NumericValue
- Throws:
InvalidValueException
subtract
IntegerValue subtract(IntegerValue right)
throws InvalidValueException
- Throws:
InvalidValueException