Package ml.options
Interface Constrainable
- All Known Implementing Classes:
OptionData,OptionSet
public interface Constrainable
The interface for objects which can be constrained, i. e.
Constraints can
be attached to such objects.-
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstraint(Constraint constraint) Add a constraint to this instance.Access all known constraints
-
Method Details
-
addConstraint
Add a constraint to this instance.- Parameters:
constraint- TheConstraintto add to the list of constraints for this instance
-
getConstraints
List<Constraint> getConstraints()Access all known constraints- Returns:
- A list of
Constraints for this instance
-