public class ConstraintMessage
extends java.lang.Object
LabelConstraintMessage
provides error messages for
label constraints.Constructor and Description |
---|
ConstraintMessage() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
detailMsg()
A detailed message to display if the constraint is violated.
|
Constraint.Kind |
kind() |
java.lang.String |
msg()
A message to display if the constraint is violated.
|
NamedLabel |
namedLhs() |
NamedLabel |
namedRhs() |
void |
setConstraint(Constraint c) |
java.lang.String |
technicalMsg()
A technical message to display if the constraint is violated.
|
public java.lang.String msg()
NamedLabel
s.public java.lang.String detailMsg()
NamedLabel
s are used.public java.lang.String technicalMsg()
NamedLabel
s are used.public void setConstraint(Constraint c)
public NamedLabel namedLhs()
public NamedLabel namedRhs()
public Constraint.Kind kind()