public interface Constrainable
Constraint
s can
be attached to such objects.Modifier and Type | Method and Description |
---|---|
void |
addConstraint(Constraint constraint)
Add a constraint to this instance.
|
java.util.List<Constraint> |
getConstraints()
Access all known constraints
|
void addConstraint(Constraint constraint)
constraint
- The Constraint
to add to the list of constraints for this instancejava.util.List<Constraint> getConstraints()
Constraint
s for this instance