org.infolayer.util
Class MultiOclCollection

java.lang.Object
  extended byorg.infolayer.util.AbstractOclCollection
      extended byorg.infolayer.util.MultiOclCollection
All Implemented Interfaces:
OclCollection, Typed

public class MultiOclCollection
extends AbstractOclCollection

Author:
haustein To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from interface org.infolayer.util.OclCollection
BAG, COLLECTION, names, ORDERED_SET, SEQUENCE, SET
 
Constructor Summary
MultiOclCollection(int collectionType, UmlClassifier elementType, OclCollection[] base)
           
MultiOclCollection(UmlClassifier elementType)
           
 
Method Summary
 boolean isAnyNull()
           
 java.util.Iterator iterator()
           
 OclCollection select(OclExpression filter)
           
 long size()
          Returns the number of elements contained in this collection
 
Methods inherited from class org.infolayer.util.AbstractOclCollection
append, asBag, asSequence, asSet, at, collectNested, count, difference, equals, excludes, excludesAll, excluding, first, flatten, getCollectionType, getElementType, getSealed, getType, includes, includesAll, including, indexOf, insertAt, intersection, isEmpty, isSealed, last, max, min, notEmpty, prepend, reverse, select, sortedBy, subSequence, sum, symmetricDifference, toOclLiteral, toString, union
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiOclCollection

public MultiOclCollection(UmlClassifier elementType)

MultiOclCollection

public MultiOclCollection(int collectionType,
                          UmlClassifier elementType,
                          OclCollection[] base)
Method Detail

isAnyNull

public boolean isAnyNull()

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface OclCollection
Specified by:
iterator in class AbstractOclCollection

select

public OclCollection select(OclExpression filter)
Specified by:
select in interface OclCollection
Overrides:
select in class AbstractOclCollection

size

public long size()
Description copied from interface: OclCollection
Returns the number of elements contained in this collection

Specified by:
size in interface OclCollection
Overrides:
size in class AbstractOclCollection