Class ODSubConstraint

java.lang.Object
de.monticore.tf.odrules.subConstraints.ODSubConstraint

public class ODSubConstraint extends Object
Created by Alexander Wilts on 10.11.2016. Objects of type ODSubConstraint represent modules of constraints that can be checked independently.
  • Field Details

    • dependVars

      public Set<ASTMatchingObject> dependVars
    • constrExpr

      public String constrExpr
    • optionalInOrPresent

      public boolean optionalInOrPresent
  • Constructor Details

    • ODSubConstraint

      public ODSubConstraint(Set<ASTMatchingObject> dependVars, String constrExpr)
    • ODSubConstraint

      public ODSubConstraint()
  • Method Details

    • isOptionalInOrPresent

      public boolean isOptionalInOrPresent()
    • getDependVars

      public Set<ASTMatchingObject> getDependVars()
    • isDependendOn

      public boolean isDependendOn(ASTMatchingObject object)
    • getConstrExpr

      public String getConstrExpr()
    • getConstrExprFor

      public String getConstrExprFor(String dependencyName)