Class ConstraintOperator

java.lang.Object
cruise.umple.compiler.ConstraintVariable
cruise.umple.compiler.ConstraintOperator
All Implemented Interfaces:
java.lang.Iterable<ConstraintVariable>

public class ConstraintOperator
extends ConstraintVariable
ConstraintOperators encapsulate the branching of the constraint tree, where the branches occur at the operators, for example [a<3&&b!="loved"] the basic structure will look like ConstraintOperator(&&) / \ ConstraintOperator(<) ConstraintOperator(!=) / \ / \ ConstraintAttribute(a) ConstraintNumberLiteral(3) ConstraintAttribute(b) ConstraintLiteral("loved") With the extra complication that ConstraintTrees parent everything that are not ConstraintLiterals