org.eclipse.ocl.examples.domain.values
Interface IntegerValue

All Superinterfaces:
java.lang.Comparable<RealValue>, OCLValue, RealValue, Value
All Known Subinterfaces:
IntegerValue.Accumulator, InvalidValue, NullValue, UnlimitedValue
All Known Implementing Classes:
BigIntegerValueImpl, EvaluationHaltedException, IntegerValueImpl, IntIntegerValueImpl, InvalidValueException, LongIntegerValueImpl, NullValueImpl, UndefinedValueImpl, UnlimitedValueImpl, VMException, VMInterruptedExecutionException, VMRuntimeException, VMStackOverFlowError

public interface IntegerValue
extends RealValue


Nested Class Summary
static interface IntegerValue.Accumulator
           
 
Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value
INVALID_NAME
 
Method Summary
 IntegerValue addInteger(IntegerValue right)
           
 IntegerValue commutatedDiv(IntegerValue left)
           
 IntegerValue commutatedMod(IntegerValue left)
           
 int compareToInteger(IntegerValue right)
           
 RealValue divideInteger(IntegerValue right)
           
 IntegerValue divInteger(IntegerValue right)
           
 IntegerValue divUnlimited(UnlimitedValue right)
           
 int intValue()
           
 boolean isUnlimitedNatural()
           
 IntegerValue maxInteger(IntegerValue right)
           
 IntegerValue minInteger(IntegerValue right)
           
 IntegerValue modInteger(IntegerValue right)
           
 IntegerValue modUnlimited(UnlimitedValue right)
           
 IntegerValue multiplyInteger(IntegerValue right)
           
 IntegerValue negate()
           
 IntegerValue subtractInteger(IntegerValue right)
           
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.RealValue
abs, addReal, asNumber, bigDecimalValue, bigIntegerValue, commutatedAdd, commutatedDivide, commutatedMultiply, commutatedSubtract, compareToReal, compareToUnlimited, divideReal, doubleValue, floor, isIntegerValue, isUnlimited, max, maxReal, maxUnlimited, min, minReal, minUnlimited, multiplyReal, round, signum, subtractReal
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value
asBagValue, asCollectionValue, asDouble, asEcoreObject, asEcoreObject, asElement, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, getTypeId, isInvalid, isUndefined, toString
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OCLValue
oclEquals, oclHashCode
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addInteger

@NonNull
IntegerValue addInteger(@NonNull
                                IntegerValue right)
Specified by:
addInteger in interface RealValue
Generated
NOT

commutatedDiv

@NonNull
IntegerValue commutatedDiv(@NonNull
                                   IntegerValue left)
Generated
NOT

commutatedMod

@NonNull
IntegerValue commutatedMod(@NonNull
                                   IntegerValue left)
Generated
NOT

compareToInteger

int compareToInteger(@NonNull
                     IntegerValue right)
Specified by:
compareToInteger in interface RealValue
Generated
NOT

divInteger

@NonNull
IntegerValue divInteger(@NonNull
                                IntegerValue right)
Generated
NOT

divUnlimited

@NonNull
IntegerValue divUnlimited(@NonNull
                                  UnlimitedValue right)
Generated
NOT

divideInteger

@NonNull
RealValue divideInteger(@NonNull
                                IntegerValue right)
Specified by:
divideInteger in interface RealValue
Generated
NOT

intValue

int intValue()
Generated
NOT

isUnlimitedNatural

boolean isUnlimitedNatural()
Generated
NOT

maxInteger

@NonNull
IntegerValue maxInteger(@NonNull
                                IntegerValue right)
Specified by:
maxInteger in interface RealValue
Generated
NOT

minInteger

@NonNull
IntegerValue minInteger(@NonNull
                                IntegerValue right)
Specified by:
minInteger in interface RealValue
Generated
NOT

modInteger

@NonNull
IntegerValue modInteger(@NonNull
                                IntegerValue right)
Generated
NOT

modUnlimited

@NonNull
IntegerValue modUnlimited(@NonNull
                                  UnlimitedValue right)
Generated
NOT

multiplyInteger

@NonNull
IntegerValue multiplyInteger(@NonNull
                                     IntegerValue right)
Specified by:
multiplyInteger in interface RealValue
Generated
NOT

negate

@NonNull
IntegerValue negate()
Specified by:
negate in interface RealValue
Generated
NOT

subtractInteger

@NonNull
IntegerValue subtractInteger(@NonNull
                                     IntegerValue right)
Specified by:
subtractInteger in interface RealValue
Generated
NOT