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 getId(); 10 }