1 package org.lsst.ccs.bus.trending;
2
3 import java.lang.annotation.Documented;
4 import java.lang.annotation.ElementType;
5 import java.lang.annotation.Retention;
6 import java.lang.annotation.RetentionPolicy;
7 import java.lang.annotation.Target;
8
9 /**
10 * Field annotation (should be updated to accessor methods)
11 * @author bamade
12 */
13 // Date: 08/04/13
14
15 @Documented
16 @Target(ElementType.FIELD)
17 @Retention(RetentionPolicy.RUNTIME)
18 public @interface TrendingData {
19 /**
20 * the key of data is usually the name of the field but this can be changed to a different key
21 * @return
22 */
23 String key() default "" ;
24 }