KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jivesoftware > database > JiveID


1 package org.jivesoftware.database;
2
3 import java.lang.annotation.Retention JavaDoc;
4 import java.lang.annotation.RetentionPolicy JavaDoc;
5 import java.lang.annotation.Target JavaDoc;
6 import java.lang.annotation.ElementType JavaDoc;
7
8 /**
9  * Used to specify what jive id an object should have
10  *
11  * @author Andrew Wright
12  */

13 @Retention JavaDoc(RetentionPolicy.RUNTIME)
14 @Target JavaDoc(ElementType.TYPE)
15 public @interface JiveID {
16
17     /**
18      * should return the int type for this object
19      */

20     int value();
21 }
22
Popular Tags