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

All Superinterfaces:
BagValue, CollectionValue, java.lang.Comparable<RealValue>, IntegerValue, java.lang.Iterable<java.lang.Object>, ObjectValue, OCLValue, OrderedCollectionValue, OrderedSetValue, RealValue, SequenceValue, SetValue, TupleValue, UniqueCollectionValue, UnlimitedValue, Value
All Known Subinterfaces:
InvalidValue
All Known Implementing Classes:
EvaluationHaltedException, InvalidValueException, NullValueImpl, UndefinedValueImpl, VMException, VMInterruptedExecutionException, VMRuntimeException, VMStackOverFlowError

public interface NullValue
extends ObjectValue, UnlimitedValue, BagValue, OrderedSetValue, SequenceValue, SetValue, TupleValue


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.IntegerValue
IntegerValue.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.BagValue
BagValue.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.OrderedSetValue
OrderedSetValue.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.SequenceValue
SequenceValue.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.SetValue
SetValue.Accumulator
 
Field Summary
 
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value
INVALID_NAME
 
Method Summary
 OclVoidTypeId getTypeId()
          Return the type of this value determined from its construction context.
 NullValue negate()
           
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.ObjectValue
getObject
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.IntegerValue
addInteger, commutatedDiv, commutatedMod, compareToInteger, divideInteger, divInteger, divUnlimited, intValue, isUnlimitedNatural, maxInteger, minInteger, modInteger, modUnlimited, multiplyInteger, subtractInteger
 
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.OCLValue
oclEquals, oclHashCode
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OrderedSetValue
subOrderedSet
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.SequenceValue
subSequence
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OrderedCollectionValue
append, appendAll, at, first, indexOf, insertAt, last, prepend, prependAll, reverse
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.UniqueCollectionValue
minus, symmetricDifference
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.CollectionValue
asCollection, asEcoreObject, asEcoreObject, asEcoreObjects, count, excludes, excludesAll, excluding, excludingAll, flatten, flatten, getElements, getKind, includes, includesAll, including, includingAll, intersection, intSize, isEmpty, isOrdered, isUnique, iterable, iterator, notEmpty, product, size, sort, toSequenceValue, union
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.Value
asBagValue, asCollectionValue, asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObject, asObjectValue, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asTupleValue, asUniqueCollectionValue, asUnlimitedNaturalValue, isInvalid, isUndefined, toString
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.TupleValue
getValue, getValue
 

Method Detail

getTypeId

@NonNull
OclVoidTypeId getTypeId()
Description copied from interface: Value
Return the type of this value determined from its construction context. In the case of collections this may differ from the actual type.

Specified by:
getTypeId in interface CollectionValue
Specified by:
getTypeId in interface TupleValue
Specified by:
getTypeId in interface Value
Returns:
its type

negate

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