public class TypedConstraint
extends net.ssehub.easy.varModel.model.Constraint
| Modifier and Type | Field and Description |
|---|---|
private net.ssehub.easy.varModel.model.Constraint.IConstraintType |
type |
| Constructor and Description |
|---|
TypedConstraint(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree consSyntax,
net.ssehub.easy.varModel.model.Constraint.IConstraintType type,
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 TypedConstraint(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree consSyntax,
net.ssehub.easy.varModel.model.Constraint.IConstraintType type,
net.ssehub.easy.varModel.model.IModelElement parent)
throws net.ssehub.easy.varModel.cst.CSTSemanticException
consSyntax - the constraint syntax treetype - the constraint typeparent - 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.