public class ConstraintVariableConstraint
extends net.ssehub.easy.varModel.model.Constraint
Constraint.Type.CONSTRAINT. This shall avoid requiring an attribute for
this purpose for all constraints and using it just for temporary reasoning ones.| Constructor and Description |
|---|
ConstraintVariableConstraint(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree consSyntax,
net.ssehub.easy.varModel.model.IModelElement parent)
Creates a new constraint from an already parsed syntax tree.
|
| Modifier and Type | Method and Description |
|---|---|
net.ssehub.easy.varModel.model.Constraint |
createConstraint(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree consSyntax) |
net.ssehub.easy.varModel.model.Constraint.IConstraintType |
getType() |
accept, getAttachedTo, getConsSyntax, isBooleanConstraint, setConsSyntax, toStringaccept, getNameSpace, getParent, getProject, getQualifiedName, getTopLevelParent, isTopLevel, setParentfindAttribute, getComment, getName, getUniqueName, isTransparent, propagateAttribute, setComment, setNamepublic ConstraintVariableConstraint(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree consSyntax,
net.ssehub.easy.varModel.model.IModelElement parent)
throws net.ssehub.easy.varModel.cst.CSTSemanticException
consSyntax - the constraint syntax treeparent - the object, in which this specific one is embeddednet.ssehub.easy.varModel.cst.CSTSemanticException - in case that the constraint semantics cannot be resolved
or that the specified constraint does not evaluate to a boolean expressionpublic net.ssehub.easy.varModel.model.Constraint.IConstraintType getType()
getType in class net.ssehub.easy.varModel.model.Constraintpublic net.ssehub.easy.varModel.model.Constraint createConstraint(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree consSyntax)
throws net.ssehub.easy.varModel.cst.CSTSemanticException
createConstraint in class net.ssehub.easy.varModel.model.Constraintnet.ssehub.easy.varModel.cst.CSTSemanticExceptionCopyright © 2009 - 2018 SSE. All Rights Reserved.