changeset 1 | 82d1d1de1a01 |
-1:000000000000 | 1:82d1d1de1a01 |
---|---|
1 package org.eclipse.example.library; |
|
2 |
|
3 /** |
|
4 * @model |
|
5 */ |
|
6 public interface Book |
|
7 { |
|
8 /** |
|
9 * @model |
|
10 */ |
|
11 String 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 } |