public class Constraint extends ConstraintDefinition
parameters
Constructor and Description |
---|
Constraint(ConstraintDefinition definiton,
Assignment assignment) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(IConstraintListener l) |
java.lang.Object |
clone()
clone
|
Assignment |
getAssignment() |
java.lang.String |
getCurrentStateMessage() |
State |
getState() |
boolean |
getStatus()
checkCondition
|
boolean |
isActive() |
void |
setState(State state) |
void |
setStatus(boolean status) |
addBranch, branchesCount, cleanAllParameterBranches, clearBranches, deleteBranch, dependsOn, equals, getAssignmentModel, getBranches, getCaption, getCondition, getDescription, getFirstBranch, getLevel, getMandatory, getStateMessage, hasBranch, isBranchAt, isBranched, setAssignmentModel, setLevel, setMandatory, toString
addParameter, addParameter, deleteParameter, exists, getDisplay, getFirstParameter, getLanguage, getMaxId, getName, getParameters, getParameterWithId, getStateMessages, getText, isBinary, isUnary, parameterCount, parameterExists, setDescription, setDisplay, setName, setStateMessage, setText, withId
cloneAttributes, getId, getIdString, hashCode, newInstance, nextId, setId
public Constraint(ConstraintDefinition definiton, Assignment assignment)
public java.lang.Object clone()
Base
clone
in class ConstraintDefinition
public void addListener(IConstraintListener l)
public Assignment getAssignment()
public State getState()
public void setState(State state)
public boolean getStatus()
public boolean isActive()
public void setStatus(boolean status)
public java.lang.String getCurrentStateMessage()