Class ODSubConstraint
- java.lang.Object
-
- de.monticore.tf.odrules.subConstraints.ODSubConstraint
-
public class ODSubConstraint extends java.lang.ObjectCreated by Alexander Wilts on 10.11.2016. Objects of type ODSubConstraint represent modules of constraints that can be checked independently.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringconstrExprjava.util.Set<ASTMatchingObject>dependVarsbooleanoptionalInOrPresent
-
Constructor Summary
Constructors Constructor Description ODSubConstraint()ODSubConstraint(java.util.Set<ASTMatchingObject> dependVars, java.lang.String constrExpr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetConstrExpr()java.lang.StringgetConstrExprFor(java.lang.String dependencyName)java.util.Set<ASTMatchingObject>getDependVars()booleanisDependendOn(ASTMatchingObject object)booleanisOptionalInOrPresent()
-
-
-
Field Detail
-
dependVars
public java.util.Set<ASTMatchingObject> dependVars
-
constrExpr
public java.lang.String constrExpr
-
optionalInOrPresent
public boolean optionalInOrPresent
-
-
Constructor Detail
-
ODSubConstraint
public ODSubConstraint(java.util.Set<ASTMatchingObject> dependVars, java.lang.String constrExpr)
-
ODSubConstraint
public ODSubConstraint()
-
-
Method Detail
-
isOptionalInOrPresent
public boolean isOptionalInOrPresent()
-
getDependVars
public java.util.Set<ASTMatchingObject> getDependVars()
-
isDependendOn
public boolean isDependendOn(ASTMatchingObject object)
-
getConstrExpr
public java.lang.String getConstrExpr()
-
getConstrExprFor
public java.lang.String getConstrExprFor(java.lang.String dependencyName)
-
-