moved to javax.constrains and hibernate validation annotations