1 | public class Y {↵ | | 1 | public class ↵
|
|
2 | private Long id;↵ | | |
|
3 | private String x↵ | | 2 | Document extends Item {↵
|
|
| | | 3 | private Blob content;↵
|
|
4 | ;↵ | | 4 | private Calendar modified;↵
|
|
5 | private X theX;↵ | | 5 | private Calendar created;↵
|
|
6 | /**↵ | | 6 | /**↵
|
7 | * Returns the id.↵ | | 7 | * @return Returns the ↵
|
8 | * @return Long↵ | | 8 | created.↵
|
9 | */↵ | | 9 | */↵
|
|
10 | public Long getId() {↵ | | 10 | public Calendar getCreated() {↵
|
|
11 | return id;↵ | | 11 | return created;↵
|
|
12 | }↵ | | 12 | }↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * Returns the x.↵ | | 14 | * ↵
|
15 | * @return String↵ | | 15 | @param created The created to set.↵
|
16 | */↵ | | 16 | */↵
|
|
17 | public String getX() {↵ | | 17 | public void setCreated(Calendar created) {↵
|
|
18 | return x;↵ | | 18 | ↵
|
19 | }↵ | | |
|
|
20 | /**↵ | | |
|
21 | * Sets the id.↵ | | |
|
22 | * @param id The id to set↵ | | 19 | this.created = created;↵
|
|
| | | 20 | }↵
|
|
| | | 21 | /**↵
|
| | | 22 | * @return Returns the modified.↵
|
23 | */↵ | | 23 | */↵
|
|
24 | public void setId(Long id) {↵ | | 24 | public Calendar getModified() {↵
|
|
25 | this.id = id;↵ | | 25 | return modified;↵
|
|
26 | }↵ | | 26 | }↵
|
|
27 | /**↵ | | 27 | /**↵
|
28 | * Sets the x.↵ | | 28 | * ↵
|
29 | * @param x The x to set↵ | | 29 | @param modified The modified to set.↵
|
30 | */↵ | | 30 | */↵
|
|
31 | public void setX(String x) {↵ | | 31 | public void setModified(Calendar modified) {↵
|
|
32 | this.x = x;↵ | | 32 | this.↵
|
33 | }↵ | | |
|
|
34 | /**↵ | | |
|
35 | * @return↵ | | 33 | modified = modified;↵
|
|
| | | 34 | }↵
|
|
| | | 35 | /**↵
|
| | | 36 | * @return Returns the content.↵
|
36 | */↵ | | 37 | */↵
|
|
37 | public X getTheX() {↵ | | 38 | public Blob getContent() {↵
|
|
38 | return theX;↵ | | 39 | return content;↵
|
|
39 | }↵ | | 40 | }↵
|
|
40 | /**↵ | | 41 | /**↵
|
41 | * @param x↵ | | 42 | * @param content The content to set.↵
|
42 | */↵ | | 43 | */↵
|
|
43 | public void setTheX(X x) {↵ | | 44 | public void setContent(Blob content) {↵
|
|
44 | theX = x;↵ | | 45 | this.content = content;
|
45 | | | | |