KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > dynaop > example > Identifiable


1 package dynaop.example;
2
3 /**
4  * Gives object an ID.
5  *
6  * @author Bob Lee (crazybob@crazybob.org)
7  */

8 public interface Identifiable {
9
10     /**
11      * Gets ID.
12      */

13     long getId();
14     
15     /**
16      * Sets ID.
17      */

18     void setId(long id);
19 }
20
Popular Tags