krieger.oclsolve
Interface BagExpression

All Superinterfaces:
CollectionExpression, Expression
All Known Subinterfaces:
OclInvalidExpression, OclVoidExpression

public interface BagExpression
extends CollectionExpression

Represents an OCL expression of type Bag.


Method Summary
 BagExpression collect(IteratorBody<Expression> body)
          Applies the collect iterator to the expression.
 BagExpression collectNested(IteratorBody<Expression> body)
          Applies the collectNested iterator to the expression.
 BagExpression excluding(Expression object)
          Applies the excluding operation to the expression.
 BagExpression flatten()
          Applies the flatten operation to the expression.
 BagExpression including(Expression object)
          Applies the including operation to the expression.
 SetExpression intersection(SetExpression s)
          Applies the intersection operation to the expression.
 BagExpression reject(IteratorBody<BooleanExpression> body)
          Applies the reject iterator to the expression.
 BagExpression select(IteratorBody<BooleanExpression> body)
          Applies the select iterator to the expression.
 BagExpression union(BagExpression bag)
          Applies the union operation to the expression, taking a Bag as argument.
 BagExpression union(SetExpression s)
          Applies the union operation to the expression, taking a Set as argument.
 
Methods inherited from interface krieger.oclsolve.CollectionExpression
any, asBag, asOrderedSet, asSequence, asSet, count, excludes, excludesAll, exists, forAll, includes, includesAll, isEmpty, max, min, notEmpty, oclIsEqualTo, one, size, sum
 
Methods inherited from interface krieger.oclsolve.Expression
evaluate
 

Method Detail

union

BagExpression union(SetExpression s)
Applies the union operation to the expression, taking a Set as argument.


union

BagExpression union(BagExpression bag)
Applies the union operation to the expression, taking a Bag as argument.


intersection

SetExpression intersection(SetExpression s)
Applies the intersection operation to the expression.


including

BagExpression including(Expression object)
Applies the including operation to the expression.


excluding

BagExpression excluding(Expression object)
Applies the excluding operation to the expression.


flatten

BagExpression flatten()
Applies the flatten operation to the expression.


collect

BagExpression collect(IteratorBody<Expression> body)
Applies the collect iterator to the expression.


collectNested

BagExpression collectNested(IteratorBody<Expression> body)
Applies the collectNested iterator to the expression.


select

BagExpression select(IteratorBody<BooleanExpression> body)
Applies the select iterator to the expression.


reject

BagExpression reject(IteratorBody<BooleanExpression> body)
Applies the reject iterator to the expression.