View Javadoc

1   /**
2    * - Digitalis Internal Framework v2.0 - (C) 2007, Digitalis Informatica.
3    * Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos num.9 -
4    * Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21
5    * 4408999 http://www.digitalis.pt
6    */
7   package pt.digitalis.dif.dem.annotations.parameter;
8   
9   import java.lang.annotation.ElementType;
10  import java.lang.annotation.Retention;
11  import java.lang.annotation.RetentionPolicy;
12  import java.lang.annotation.Target;
13  
14  import pt.digitalis.dif.dem.annotations.metaannotations.Primary;
15  
16  /**
17   * This annotation injects a compiled parameter error report into an attribute for later parsing by the business stage
18   * implementation. It can be used on an attribute of a POJO annotated with the following: <code>@StageDefinition</code>.
19   * 
20   * Note: When errors occur in parameters and a stage does not have this annotation a WARN will be issued for logging.
21   * 
22   * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a>
23   * @created 2007/05/11
24   */
25  @Target(ElementType.FIELD)
26  @Retention(RetentionPolicy.RUNTIME)
27  @Primary
28  public @interface InjectParameterErrors {
29  }