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