org.eclipse.ocl.examples.domain.values.impl
Class SparseOrderedSetValueImpl.Accumulator

java.lang.Object
  extended by org.eclipse.ocl.examples.domain.values.util.ValuesUtil
      extended by org.eclipse.ocl.examples.domain.values.impl.ValueImpl
          extended by org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl
              extended by org.eclipse.ocl.examples.domain.values.impl.OrderedSetValueImpl
                  extended by org.eclipse.ocl.examples.domain.values.impl.SparseOrderedSetValueImpl
                      extended by org.eclipse.ocl.examples.domain.values.impl.SparseOrderedSetValueImpl.Accumulator
All Implemented Interfaces:
java.lang.Iterable<java.lang.Object>, CollectionValue, CollectionValue.Accumulator, OrderedCollectionValue, OrderedSetValue, OrderedSetValue.Accumulator, UniqueCollectionValue, Value
Enclosing class:
SparseOrderedSetValueImpl

public static class SparseOrderedSetValueImpl.Accumulator
extends SparseOrderedSetValueImpl
implements OrderedSetValue.Accumulator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.domain.values.impl.SparseOrderedSetValueImpl
SparseOrderedSetValueImpl.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.domain.values.OrderedSetValue
OrderedSetValue.Accumulator
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl
elements, EMPTY_ITERATOR, typeId
 
Fields inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil
EMPTY_BAG, EMPTY_SET, FALSE_VALUE, INTEGER_MAX_VALUE, INTEGER_MIN_VALUE, INVALID_VALUE, LONG_MAX_VALUE, LONG_MIN_VALUE, NULL_STRING, NULL_VALUE, ONE_VALUE, TRUE_VALUE, UNLIMITED_VALUE, ZERO_VALUE
 
Fields inherited from interface org.eclipse.ocl.examples.domain.values.Value
INVALID_NAME
 
Constructor Summary
SparseOrderedSetValueImpl.Accumulator(CollectionTypeId typeId)
           
 
Method Summary
 boolean add(java.lang.Object value)
           
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.SparseOrderedSetValueImpl
append, createOrderedSetOfEach, first, flatten, including, last, prepend, toSequenceValue, toString
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.OrderedSetValueImpl
appendAll, asOrderedCollectionValue, asOrderedSetValue, asUniqueCollectionValue, at, equals, eStaticClass, excluding, excludingAll, getKind, includingAll, indexOf, insertAt, isOrdered, isUnique, minus, prependAll, reverse, sort, subOrderedSet, symmetricDifference
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.CollectionValueImpl
asBagValue, asCollection, asCollectionValue, asEcoreObject, asEcoreObject, asEcoreObjects, asList, asObject, asSequenceValue, asSetValue, checkElementsAreUnique, count, excludes, excludesAll, flatten, getBagTypeId, getElements, getElementTypeId, getObject, getOrderedSetTypeId, getSequenceTypeId, getSetTypeId, getTypeId, hashCode, includes, includesAll, initStatics, intersection, intSize, isEmpty, iterable, iterator, notEmpty, product, size, toString, union
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.impl.ValueImpl
asDouble, asElement, asInteger, asIntegerValue, asNavigableObject, asObjectValue, asRealValue, asTupleValue, asUnlimitedNaturalValue, getTypeName, isInvalid, isUndefined
 
Methods inherited from class org.eclipse.ocl.examples.domain.values.util.ValuesUtil
asBagValue, asBoolean, asCollectionType, asCollectionValue, asInteger, asIntegerValue, asMetaclass, asNavigableObject, asObject, asOrderedCollectionValue, asOrderedSetValue, asRealValue, asSequenceValue, asSetValue, asString, asTupleValue, asType, asUniqueCollectionValue, asUnlimitedNaturalValue, asValue, bigDecimalValueOf, bigIntegerValueOf, characterValueOf, createBagAccumulatorValue, createBagOfEach, createBagRange, createBagValue, createCollectionAccumulatorValue, createInvalidValue, createObjectValue, createOrderedSetAccumulatorValue, createOrderedSetOfEach, createOrderedSetRange, createOrderedSetValue, createRange, createSequenceAccumulatorValue, createSequenceOfEach, createSequenceRange, createSequenceRange, createSequenceValue, createSetAccumulatorValue, createSetOfEach, createSetRange, createSetValue, createTupleOfEach, createTupleValue, createTupleValue, createTypeValue, getEcoreNumber, getTypeName, initAllStatics, integerValueOf, integerValueOf, integerValueOf, integerValueOf, integerValueOf, isBoxed, isCollectionValue, isIntegerNumber, isIntegerValue, isRealNumber, isUnboxed, isUnlimited, oclToString, realValueOf, realValueOf, realValueOf, realValueOf, realValueOf, stringValueOf, throwBooleanInvalidValueException, throwInvalidValueException, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.domain.values.OrderedSetValue
subOrderedSet
 
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, getTypeId, 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
 

Constructor Detail

SparseOrderedSetValueImpl.Accumulator

public SparseOrderedSetValueImpl.Accumulator(@NonNull
                                             CollectionTypeId typeId)
Method Detail

add

public boolean add(@Nullable
                   java.lang.Object value)
Specified by:
add in interface CollectionValue.Accumulator