1 | public class Mammal extends Animal {↵ | | 1 | public class DocumentImpl extends ↵
|
2 | private String mammalName;↵ | | |
|
3 | private String mammalName2;↵ | | |
|
4 | private String mammalName3;↵ | | |
|
| | | 2 | ItemImpl implements Document {↵
|
| | | 3 | private Blob content;↵
|
| | | 4 | private Calendar modified;↵
|
| | | 5 | private Calendar created;↵
|
| | | 6 | /**↵
|
| | | 7 | * @return Returns the created.↵
|
| | | 8 | */↵
|
5 | public String getMammalName() {↵ | | 9 | public ↵
|
6 | return mammalName;↵ | | |
|
7 | }↵ | | |
|
|
8 | public void setMammalName(String mammalName) {↵ | | |
|
9 | this.mammalName = mammalName;↵ | | |
|
10 | }↵ | | |
|
|
11 | public String getMammalName2() {↵ | | |
|
12 | return mammalName2;↵ | | |
|
13 | }↵ | | |
|
|
14 | public void setMammalName2(String mammalName2) {↵ | | |
|
15 | this.mammalName2 = mammalName2;↵ | | |
|
16 | }↵ | | |
|
|
17 | public String getMammalName3() {↵ | | |
|
18 | return mammalName3;↵ | | |
|
19 | }↵ | | |
|
|
20 | public void setMammalName3(String mammalName3) {↵ | | |
|
21 | this.mammalName3 = mammalName3 | | 10 | Calendar getCreated() {↵
|
| | | 11 | return created;↵
|
| | | 12 | }↵
|
| | | 13 | /**↵
|
| | | 14 | * @param created The created to set.↵
|
| | | 15 | */↵
|
| | | 16 | public void setCreated(Calendar created) {↵
|
| | | 17 | this.created = created;↵
|
| | | 18 | }↵
|
| | | 19 | /**↵
|
| | | 20 | * @return Returns the modified.↵
|
| | | 21 | */↵
|
| | | 22 | public Calendar getModified() {↵
|
| | | 23 | return modified;↵
|
| | | 24 | }↵
|
| | | 25 | /**↵
|
| | | 26 | * @param modified The modified to set.↵
|
| | | 27 | */↵
|
| | | 28 | public void setModified(Calendar modified) {↵
|
| | | 29 | this.modified = modified;↵
|
| | | 30 | }↵
|
| | | 31 | /**↵
|
| | | 32 | * @return Returns the content.↵
|
| | | 33 | */↵
|
| | | 34 | public Blob getContent() {↵
|
| | | 35 | return content;↵
|
| | | 36 | }↵
|
| | | 37 | /**↵
|
| | | 38 | * @param content The content to set.↵
|
| | | 39 | */↵
|
| | | 40 | public void setContent(Blob content) {↵
|
| | | 41 | this.content = content
|