Environment for
Supported by Index-Structures

Interface GlobalParameterConstraint

All Known Implementing Classes:
AllOrNoneMustBeSetGlobalConstraint, DefaultValueGlobalConstraint, EqualSizeGlobalConstraint, GlobalDistanceFunctionPatternConstraint, GlobalListSizeConstraint, GlobalVectorListElementSizeConstraint, LessEqualGlobalConstraint, LessGlobalConstraint, NotEqualValueGlobalConstraint, OneMustBeSetGlobalConstraint, OnlyOneIsAllowedToBeSetGlobalConstraint, ParameterFlagGlobalConstraint

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().

Steffi Wanka

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
Checks if the respective parameters satisfy the parameter constraint. If not, a parameter exception is thrown.

ParameterException - if the parameters don't satisfy the parameter constraint.


String getDescription()
Returns a description of this global constraint.

a description of this global constraint

Release 0.3 (2010-03-31_1612)