|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlobalParameterConstraint
Interface for specifying global parameter constraints, i.e. constraints addressing several parameters.
Each class specifying a global parameter constraint should implement this interface.
The parameters to be tested should be defined as private attributes and should be
initialized in the respective constructor of the class, i.e. they are parameters of the constructor.
The proper constraint test should be implemented in the method test()
.
Method Summary | |
---|---|
String |
getDescription()
Returns a description of this global constraint. |
void |
test()
Checks if the respective parameters satisfy the parameter constraint. |
Method Detail |
---|
void test() throws ParameterException
ParameterException
- if the parameters don't satisfy the parameter constraint.String getDescription()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |