public void removeGlobalConstraint(String name) {
   removeGlobalConstraint(GlobalConstraint.getConstraintClass(name));
 }
 public void addGlobalConstraint(GlobalConstraint gc) {
   globalConstraints.put(gc.getClass().getName(), gc);
 } // remove i fer el controlador i les comandes.