KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > example > library > Book


1 package org.eclipse.example.library;
2
3 /**
4  * @model
5  */

6 public interface Book
7 {
8   /**
9    * @model
10    */

11   String JavaDoc getTitle();
12
13   /**
14    * @model default="100"
15    */

16   int getPages();
17
18   /**
19    * @model
20    */

21   BookCategory getCategory();
22
23   /**
24    * @model oppoosite="books"
25    */

26   Writer getAuthor();
27 }
28
Popular Tags