1 /**
2 * - Digitalis Internal Framework v2.0 -
3 *
4 * (C) 2007, Digitalis Informatica.
5 *
6 * Distribuicao e Gestao de Informatica, Lda.
7 * Estrada de Paco de Arcos num.9 - Piso -1
8 * 2780-666 Paco de Arcos
9 * Telefone: (351) 21 4408990
10 * Fax: (351) 21 4408999
11 * http://www.digitalis.pt
12 */
13 package pt.digitalis.dif.dem.annotations.parameter;
14
15 import java.lang.annotation.ElementType;
16 import java.lang.annotation.Retention;
17 import java.lang.annotation.RetentionPolicy;
18 import java.lang.annotation.Target;
19
20 import pt.digitalis.dif.dem.annotations.metaannotations.BindToPrimary;
21
22 /**
23 * This annotation binds a set of IDs to Validator thus enabling that all the
24 * supplied IDs can be validated by the Validator.
25 *
26 * It can be used on any POJO annotated with <code>@ValidatorDefinition</code>.
27 *
28 * @author Rodrigo Gonçalves <a
29 * href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a>
30 * @created 2007/05/11
31 */
32 @Target(ElementType.TYPE)
33 @Retention(RetentionPolicy.RUNTIME)
34 @BindToPrimary("pt.digitalis.dif.dem.annotations.parameter.ValidatorDefinition")
35 public @interface BindParameterIDs {
36 /**
37 * List of all the possible aliases that a parameter can have. Mandatory
38 * field!
39 */
40 String ids();
41 }