01: package org.jivesoftware.database;
02:
03: import java.lang.annotation.Retention;
04: import java.lang.annotation.RetentionPolicy;
05: import java.lang.annotation.Target;
06: import java.lang.annotation.ElementType;
07:
08: /**
09: * Used to specify what jive id an object should have
10: *
11: * @author Andrew Wright
12: */
13: @Retention(RetentionPolicy.RUNTIME)
14: @Target(ElementType.TYPE)
15: public @interface JiveID {
16:
17: /**
18: * should return the int type for this object
19: */
20: int value();
21: }
|