Mostrando entradas con la etiqueta constraints. Mostrar todas las entradas
Mostrando entradas con la etiqueta constraints. Mostrar todas las entradas

07 enero 2009

Definición de reglas

Defining constraints


What is a constraint?

A constraint is a rule that a given element (field, property or bean) has to comply to. The rule semantic is expressed by an annotation. A constraint usually has some attributes used to parameterize the constraints limits. The constraint applies to the annotated element.