1 | public static final class Ternary {↵ | | 1 | public class Document extends Item {↵
|
2 | ↵ | | |
|
3 | private String name;↵ | | 2 | private Blob content;↵
|
4 | ↵ | | |
|
5 | private Foo foo;↵ | | 3 | private Calendar modified;↵
|
6 | ↵ | | |
|
7 | private Glarch glarch;↵ | | 4 | private Calendar created;↵
|
8 | ↵ | | |
|
9 | /**↵ | | 5 | /**↵
|
10 | * Returns the foo.↵ | | 6 | * @return Returns the ↵
|
11 | * @return Foo↵ | | 7 | created.↵
|
12 | */↵ | | 8 | */↵
|
13 | ↵ | | |
|
14 | public Foo getFoo() {↵ | | 9 | public Calendar getCreated() {↵
|
15 | ↵ | | |
|
16 | return foo;↵ | | 10 | return created;↵
|
17 | ↵ | | |
|
18 | }↵ | | 11 | }↵
|
19 | ↵ | | |
|
20 | ↵ | | |
|
21 | /**↵ | | 12 | /**↵
|
22 | * Returns the glarch.↵ | | 13 | * ↵
|
23 | * @return Glarch↵ | | 14 | @param created The created to set.↵
|
24 | */↵ | | 15 | */↵
|
25 | ↵ | | |
|
26 | public Glarch getGlarch() {↵ | | 16 | public void setCreated(Calendar created) {↵
|
|
27 | return glarch;↵ | | 17 | this.created = created;↵
|
28 | ↵ | | |
|
29 | }↵ | | 18 | }↵
|
30 | ↵ | | |
|
31 | ↵ | | |
|
32 | /**↵ | | 19 | /**↵
|
33 | * Returns the name.↵ | | 20 | * @return Returns the modified.↵
|
34 | * @return String↵ | | 21 | *↵
|
35 | */↵ | | |
|
36 | public String getName↵ | | 22 | /↵
|
|
37 | () {↵ | | 23 | public Calendar getModified() {↵
|
38 | ↵ | | |
|
39 | return name;↵ | | 24 | return modified;↵
|
|
40 | }↵ | | 25 | }↵
|
41 | ↵ | | |
|
42 | ↵ | | |
|
43 | /**↵ | | 26 | /**↵
|
44 | * Sets the foo.↵ | | 27 | ↵
|
45 | * @param foo The foo to set↵ | | 28 | * @param modified The modified to set.↵
|
46 | */↵ | | 29 | */↵
|
47 | ↵ | | |
|
48 | public void setFoo(Foo foo) {↵ | | 30 | public void setModified(Calendar modified) {↵
|
49 | ↵ | | |
|
50 | this.foo = foo;↵ | | 31 | this.modified = modified;↵
|
51 | ↵ | | |
|
52 | }↵ | | 32 | }↵
|
53 | ↵ | | |
|
54 | /**↵ | | 33 | /**↵
|
55 | * Sets the glarch.↵ | | 34 | * ↵
|
56 | * @param glarch The glarch to set↵ | | |
|
57 | ↵ | | 35 | @return Returns the content.↵
|
58 | */↵ | | 36 | */↵
|
|
59 | public void setGlarch(Glarch glarch) {↵ | | 37 | public Blob getContent() {↵
|
|
60 | this.glarch = glarch;↵ | | 38 | return content;↵
|
61 | ↵ | | |
|
62 | }↵ | | 39 | }↵
|
63 | ↵ | | |
|
64 | ↵ | | |
|
65 | /**↵ | | 40 | /**↵
|
66 | * Sets the name.↵ | | 41 | ↵
|
67 | * @param name The name to set↵ | | 42 | * @param content The content to set.↵
|
68 | */↵ | | 43 | */↵
|
69 | ↵ | | |
|
70 | public void setName(String name) {↵ | | 44 | public void setContent(Blob content) {↵
|
|
71 | this.name = name | | 45 | this.content = content
|