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