public interface FolConstraint extends TextConstraint
Constraint.ModelElmtContextType
Modifier and Type | Method and Description |
---|---|
String[] |
comments()
Get comments regarding the logic expression
|
FolExpression |
folExpression() |
boolean |
hasComments() |
void |
setComments(String[] comments) |
void |
setContextModelElmt(Info newContextModelElmt) |
void |
setContextModelElmtType(Constraint.ModelElmtContextType newContextModelElmtType) |
void |
setFolExpression(FolExpression folExpr) |
void |
setName(String name) |
void |
setSourceType(String sourceType) |
void |
setStatus(String status) |
void |
setText(String text)
Sets the constraint text, replacing all occurrences of one or more
consecutive whitespace characters with a single space character (thus
removing tabs and line breaks to construct a single line with text).
|
String |
sourceType() |
type
contextModelElmt, contextModelElmtType, name, status, text
static final String TYPE
String[] comments()
boolean hasComments()
void setComments(String[] comments)
FolExpression folExpression()
null
if parsing the constraint text did not
succeedString sourceType()
void setText(String text)
text
- void setFolExpression(FolExpression folExpr)
void setSourceType(String sourceType)
void setName(String name)
void setStatus(String status)
void setContextModelElmt(Info newContextModelElmt)
void setContextModelElmtType(Constraint.ModelElmtContextType newContextModelElmtType)
Copyright © 2018. All rights reserved.