Class ConstraintVariable

java.lang.Object
cruise.umple.compiler.ConstraintVariable
All Implemented Interfaces:
java.lang.Iterable<ConstraintVariable>
Direct Known Subclasses:
ConstraintLiteral, ConstraintNamed, ConstraintOperator, ConstraintTree

public abstract class ConstraintVariable
extends java.lang.Object
implements java.lang.Iterable<ConstraintVariable>
ConstraintVariables encapsulate that data of one element in a ConstraintTree, making up the nodes of that tree. For example: a<3 has the structure: ConstraintTree ConstraintOperator(<) / \ ConstraintTree ConstraintNumberLiteral(3) ConstraintAttribute(a) where all the "Constraint" classes inherit from ConstraintVariable
  • Constructor Summary

    Constructors 
    Constructor Description
    ConstraintVariable()  
  • Method Summary

    Modifier and Type Method Description
    void delete()  
    abstract java.lang.String getType()  
    java.lang.String getValue​(CodeTranslator gen)  
    java.util.Iterator<ConstraintVariable> iterator()  
    UmpleClassifier retrieveClassifier()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator