org.eclipse.ocl.examples.pivot.values.impl
Class SequenceValueImpl.Accumulator

java.lang.Object
  extended by org.eclipse.ocl.examples.pivot.values.impl.AbstractValue
      extended by org.eclipse.ocl.examples.pivot.values.impl.AbstractedCollectionValue
          extended by org.eclipse.ocl.examples.pivot.values.impl.AbstractCollectionValue<L>
              extended by org.eclipse.ocl.examples.pivot.values.impl.AbstractSequenceValue<java.util.List<Value>>
                  extended by org.eclipse.ocl.examples.pivot.values.impl.SequenceValueImpl
                      extended by org.eclipse.ocl.examples.pivot.values.impl.SequenceValueImpl.Accumulator
All Implemented Interfaces:
java.lang.Iterable<Value>, CollectionValue, CollectionValue.Accumulator, NonUniqueCollectionValue, OrderedCollectionValue, SequenceValue, Value
Enclosing class:
SequenceValueImpl

public static class SequenceValueImpl.Accumulator
extends SequenceValueImpl
implements CollectionValue.Accumulator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.pivot.values.impl.SequenceValueImpl
SequenceValueImpl.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.pivot.values.CollectionValue
CollectionValue.Accumulator
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.pivot.values.Value
Value.BinaryOperation
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractCollectionValue
elements
 
Fields inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractValue
valueFactory
 
Fields inherited from interface org.eclipse.ocl.examples.pivot.values.Value
INVALID_NAME
 
Constructor Summary
SequenceValueImpl.Accumulator(ValueFactory valueFactory)
           
 
Method Summary
 boolean add(Value value)
           
 
Methods inherited from class org.eclipse.ocl.examples.pivot.values.impl.SequenceValueImpl
equals, getType, union
 
Methods inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractSequenceValue
append, asList, asOrderedCollectionValue, asSequenceValue, at, excluding, first, flatten, getKind, including, indexOf, insertAt, last, prepend, reverse, sort, subSequence, toOrderedCollectionValue, toString
 
Methods inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractCollectionValue
count, excludes, excludesAll, flatten, getElements, hashCode, includes, includesAll, intersection, intSize, iterator, maxMin, product, sum, union
 
Methods inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractedCollectionValue
asBagValue, asCollection, asCollectionValue, asObject, asOrderedSetValue, asSetValue, asValidValue, isCollectionValue, isEmpty, notEmpty, size, toString
 
Methods inherited from class org.eclipse.ocl.examples.pivot.values.impl.AbstractValue
asBoolean, asBooleanValue, asDouble, asElement, asElementValue, asInteger, asIntegerValue, asObjectValue, asRealValue, asString, asStringValue, asTypeValue, asUniqueCollectionValue, getValueFactory, isFalse, isIntegerValue, isInvalid, isNull, isRealValue, isTrue, isUndefined, isUnlimited, isUnlimitedNatural, oclToString, toIntegerValue, toRealValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.values.CollectionValue
asCollection, asList, count, excludes, excludesAll, excluding, flatten, flatten, getKind, includes, includesAll, including, intersection, intSize, isEmpty, iterator, maxMin, notEmpty, product, size, sort, sum, toOrderedCollectionValue, union
 
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, toIntegerValue, toRealValue, toString
 

Constructor Detail

SequenceValueImpl.Accumulator

public SequenceValueImpl.Accumulator(ValueFactory valueFactory)
Method Detail

add

public boolean add(Value value)
Specified by:
add in interface CollectionValue.Accumulator