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


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.pivot.values.Value
Value.BinaryOperation
 
Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.pivot.values.Value
INVALID_NAME
 
Method Summary
 IntegerValue add(IntegerValue right)
           
 java.math.BigInteger bigIntegerValue()
           
 IntegerValue div(IntegerValue right)
           
 RealValue divide(IntegerValue right)
           
 IntegerValue max(IntegerValue right)
           
 IntegerValue min(IntegerValue right)
           
 IntegerValue mod(IntegerValue right)
           
 IntegerValue multiply(IntegerValue right)
           
 IntegerValue negate()
           
 IntegerValue subtract(IntegerValue right)
           
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.NumericValue
abs, bigDecimalValue, doubleValue, signum, toIntegerValue
 
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
 

Method Detail

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