krieger.oclsolve
Interface CollectionExpression

All Superinterfaces:
Expression
All Known Subinterfaces:
BagExpression, OclInvalidExpression, OclVoidExpression, OrderedSetExpression, SequenceExpression, SetExpression

public interface CollectionExpression
extends Expression

Represents an OCL expression of type Collection.


Method Summary
 Expression any(IteratorBody<BooleanExpression> body)
          Applies the any iterator to the expression.
 BagExpression asBag()
          Applies the asBag operation to the expression.
 OrderedSetExpression asOrderedSet()
          Applies the asOrderedSet operation to the expression.
 SequenceExpression asSequence()
          Applies the asSequence operation to the expression.
 SetExpression asSet()
          Applies the asSet operation to the expression.
 IntegerExpression count(Expression object)
          Applies the count operation to the expression.
 BooleanExpression excludes(Expression object)
          Applies the excludes operation to the expression.
 BooleanExpression excludesAll(CollectionExpression c2)
          Applies the excludesAll operation to the expression.
 BooleanExpression exists(IteratorBody<BooleanExpression> body)
          Applies the exists iterator to the expression.
 BooleanExpression forAll(IteratorBody<BooleanExpression> body)
          Applies the forAll iterator to the expression.
 BooleanExpression includes(Expression object)
          Applies the includes operation to the expression.
 BooleanExpression includesAll(CollectionExpression c2)
          Applies the includesAll operation to the expression.
 BooleanExpression isEmpty()
          Applies the isEmpty operation to the expression.
 IntegerExpression max()
          Applies the max operation to the expression.
 IntegerExpression min()
          Applies the min operation to the expression.
 BooleanExpression notEmpty()
          Applies the notEmpty operation to the expression.
 BooleanExpression oclIsEqualTo(CollectionExpression c)
          Applies the = operation to the expression.
 Expression one(IteratorBody<BooleanExpression> body)
          Applies the one iterator to the expression.
 IntegerExpression size()
          Applies the size operation to the expression.
 IntegerExpression sum()
          Applies the sum operation to the expression.
 
Methods inherited from interface krieger.oclsolve.Expression
evaluate
 

Method Detail

oclIsEqualTo

BooleanExpression oclIsEqualTo(CollectionExpression c)
Applies the = operation to the expression.


isEmpty

BooleanExpression isEmpty()
Applies the isEmpty operation to the expression.


notEmpty

BooleanExpression notEmpty()
Applies the notEmpty operation to the expression.


size

IntegerExpression size()
Applies the size operation to the expression.


includes

BooleanExpression includes(Expression object)
Applies the includes operation to the expression.


excludes

BooleanExpression excludes(Expression object)
Applies the excludes operation to the expression.


count

IntegerExpression count(Expression object)
Applies the count operation to the expression.


includesAll

BooleanExpression includesAll(CollectionExpression c2)
Applies the includesAll operation to the expression.


excludesAll

BooleanExpression excludesAll(CollectionExpression c2)
Applies the excludesAll operation to the expression.


sum

IntegerExpression sum()
Applies the sum operation to the expression.


min

IntegerExpression min()
Applies the min operation to the expression.


max

IntegerExpression max()
Applies the max operation to the expression.


forAll

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


exists

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


any

Expression any(IteratorBody<BooleanExpression> body)
Applies the any iterator to the expression.


one

Expression one(IteratorBody<BooleanExpression> body)
Applies the one iterator to the expression.


asSet

SetExpression asSet()
Applies the asSet operation to the expression.


asOrderedSet

OrderedSetExpression asOrderedSet()
Applies the asOrderedSet operation to the expression.


asSequence

SequenceExpression asSequence()
Applies the asSequence operation to the expression.


asBag

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