public OnlyOneIsAllowedToBeSetGlobalConstraint(Parameter<?>... params){
  parameters=Arrays.asList(params);
}

public OnlyOneIsAllowedToBeSetGlobalConstraint ( Parameter < ? > ... params ) { parameters = Arrays . asList ( params ) ; }
constructs a global parameter constraint for testing if only one parameter of a list of parameters is set .
