KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > interfaces > Identifiable


1 package test.interfaces;
2
3 /**
4  * This interface can be implemented by objects that have a
5  * String id (primary key) and a getter for it. At the client side
6  * the developer can cast using this interface to obtain the id.
7  */

8 public interface Identifiable {
9     public java.lang.String JavaDoc getId();
10 }
Popular Tags