KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jimm > datavision > Nameable


1 package jimm.datavision;
2
3 /**
4  * Enough things have names that it's time to give them a common interface.
5  *
6  * @author Jim Menard, <a HREF="mailto:jimm@io.com">jimm@io.com</a>
7  */

8 public interface Nameable {
9
10 /**
11  * Returns the name.
12  */

13 public String JavaDoc getName();
14
15 /**
16  * Sets the name.
17  *
18  * @param name the new name
19  */

20 public void setName(String JavaDoc name);
21
22 }
23
Popular Tags