krieger.oclsolve
Interface SetExpression

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

public interface SetExpression
extends CollectionExpression

Represents an OCL expression of type Set.


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.
 SetExpression excluding(Expression object)
          Applies the excluding operation to the expression.
 SetExpression flatten()
          Applies the flatten operation to the expression.
 SetExpression including(Expression object)
          Applies the including operation to the expression.
 SetExpression intersection(BagExpression bag)
          Applies the intersection operation to the expression, taking a Bag as argument.
 SetExpression intersection(SetExpression s)
          Applies the intersection operation to the expression, taking a Set as argument.
 SetExpression minus(SetExpression s)
          Applies the - operation to the expression.
 SetExpression reject(IteratorBody<BooleanExpression> body)
          Applies the reject iterator to the expression.
 SetExpression select(IteratorBody<BooleanExpression> body)
          Applies the select iterator to the expression.
 SetExpression symmetricDifference(SetExpression s)
          Applies the symmetricDifference operation to the expression.
 BagExpression union(BagExpression bag)
          Applies the union operation to the expression, taking a Bag as argument.
 SetExpression 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

SetExpression 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, taking a Set as argument.


intersection

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


minus

SetExpression minus(SetExpression s)
Applies the - operation to the expression.


including

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


excluding

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


symmetricDifference

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


flatten

SetExpression 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

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


reject

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