View Javadoc
1   package at.rseiler.spbee.core.annotation;
2   
3   import java.lang.annotation.Retention;
4   import java.lang.annotation.RetentionPolicy;
5   import java.lang.annotation.Target;
6   
7   import static java.lang.annotation.ElementType.METHOD;
8   
9   /**
10   * Defines the name of the stored procedure which should be called.
11   *
12   * @author Reinhard Seiler {@literal <rseiler.developer@gmail.com>}
13   */
14  @Target(value = {METHOD})
15  @Retention(RetentionPolicy.SOURCE)
16  public @interface StoredProcedure {
17  
18      /**
19       * Defines the name of the stored procedure.
20       *
21       * @return the name of the stored procedure
22       */
23      String value();
24  }