Overriding constraints

In reply to dave_59:

Another way to overreide a constraint is to define in your extended class another constraint which has to have the same name of the constarint you want to override.