1 | public class Lower extends Top {↵ | | 1 | public class Document {↵
|
2 | private int intprop;↵ | | 2 | private Long id;↵
|
3 | private String foo;↵ | | 3 | private String author;↵
|
4 | private Set set;↵ | | 4 | private S↵
|
5 | private List bag;↵ | | |
|
6 | private Top another;↵ | | |
|
7 | private Lower yetanother;↵ | | |
|
8 | private Po mypo↵ | | 5 | tring title;↵
|
| | | 6 | private String summary;↵
|
| | | 7 | private String text;↵
|
| | | 8 | private PublicationDate pubDate;↵
|
9 | ;↵ | | 9 | private int totalSales;↵
|
10 | /**↵ | | 10 | /**↵
|
11 | * Returns the intprop.↵ | | 11 | * @return Returns the ↵
|
12 | * @return int↵ | | 12 | author.↵
|
13 | */↵ | | 13 | */↵
|
14 | public int getIntprop() {↵ | | 14 | public String getAuthor() {↵
|
15 | return intprop;↵ | | 15 | return author;↵
|
16 | }↵ | | 16 | }↵
|
17 | ↵ | | 17 | ↵
|
18 | /**↵ | | 18 | /**↵
|
19 | * Sets the intprop.↵ | | 19 | * ↵
|
20 | * @param intprop The intprop to set↵ | | 20 | @param author The author to set.↵
|
21 | */↵ | | 21 | */↵
|
22 | public void setIntprop(int intprop) {↵ | | 22 | public void setAuthor(String author) {↵
|
23 | this.intprop = intprop;↵ | | 23 | this.author = author;↵
|
24 | }↵ | | 24 | }↵
|
25 | ↵ | | 25 | ↵
|
26 | /**↵ | | 26 | /**↵
|
27 | * Returns the foo.↵ | | 27 | * @return↵
|
28 | * @return String↵ | | 28 | Returns the id.↵
|
29 | */↵ | | 29 | */↵
|
30 | public String getFoo() {↵ | | 30 | public Long getId() {↵
|
31 | return foo;↵ | | 31 | return id;↵
|
32 | }↵ | | 32 | }↵
|
33 | ↵ | | 33 | ↵
|
34 | /**↵ | | 34 | /**↵
|
35 | * Sets the foo.↵ | | 35 | ↵
|
36 | * @param foo The foo to set↵ | | 36 | * @param id The id to set.↵
|
37 | */↵ | | 37 | */↵
|
38 | public void setFoo(String foo) {↵ | | 38 | public void setId(Long id) {↵
|
39 | this.foo = foo;↵ | | 39 | this.id = id;↵
|
40 | }↵ | | 40 | }↵
|
41 | ↵ | | 41 | ↵
|
42 | /**↵ | | 42 | /**↵
|
43 | * Returns the set.↵ | | 43 | * @return Returns the s↵
|
44 | * @return Set↵ | | |
|
45 | */↵ | | |
|
46 | public Set getSet↵ | | 44 | ummary.↵
|
| | | 45 | */↵
|
47 | () {↵ | | 46 | public String getSummary() {↵
|
48 | return set;↵ | | 47 | return summary;↵
|
49 | }↵ | | 48 | }↵
|
50 | ↵ | | 49 | ↵
|
51 | /**↵ | | 50 | /**↵
|
52 | * Sets the set.↵ | | 51 | * ↵
|
53 | * @param set The set to set↵ | | 52 | @param summary The summary to set.↵
|
54 | */↵ | | 53 | */↵
|
55 | public void setSet(Set set) {↵ | | 54 | public void setS↵
|
56 | this.set = set↵ | | 55 | ummary(String summary) {↵
|
57 | ;↵ | | 56 | this.summary = summary;↵
|
58 | }↵ | | 57 | }↵
|
59 | ↵ | | 58 | ↵
|
60 | /**↵ | | 59 | /**↵
|
61 | * Returns the another.↵ | | 60 | * @return Returns the ↵
|
62 | * @return Simple↵ | | 61 | text.↵
|
63 | */↵ | | 62 | */↵
|
64 | public Top getAnother() {↵ | | 63 | public String getText() {↵
|
65 | return another;↵ | | 64 | return text;↵
|
66 | }↵ | | 65 | }↵
|
67 | ↵ | | 66 | ↵
|
68 | /**↵ | | 67 | /**↵
|
69 | * Returns the yetanother.↵ | | 68 | * ↵
|
70 | * @return LessSimple↵ | | 69 | @param text The text to set.↵
|
71 | */↵ | | 70 | */↵
|
72 | public Lower getYetanother() {↵ | | 71 | public ↵
|
73 | return yetanother↵ | | 72 | void setText(String text) {↵
|
74 | ;↵ | | 73 | this.text = text;↵
|
75 | }↵ | | 74 | }↵
|
76 | ↵ | | 75 | ↵
|
77 | /**↵ | | 76 | /**↵
|
78 | * Sets the another.↵ | | 77 | * ↵
|
79 | * @param another The another to set↵ | | |
|
80 | */↵ | | |
|
81 | public void setAnother(Top another) {↵ | | |
|
82 | this.another = another↵ | | 78 | @return Returns the title.↵
|
| | | 79 | */↵
|
| | | 80 | public String getTitle() {↵
|
83 | ;↵ | | 81 | return title;↵
|
84 | }↵ | | 82 | }↵
|
85 | ↵ | | 83 | ↵
|
86 | /**↵ | | 84 | /**↵
|
87 | * Sets the yetanother.↵ | | 85 | * ↵
|
88 | * @param yetanother The yetanother to set↵ | | 86 | @param title The title to set.↵
|
89 | */↵ | | 87 | */↵
|
90 | public void setYetanother(Lower yetanother) {↵ | | 88 | public void setTitle(String title) {↵
|
91 | this.yetanother = yetanother;↵ | | 89 | this.↵
|
92 | }↵ | | |
|
93 | ↵ | | |
|
94 | /**↵ | | |
|
95 | * Returns the bag.↵ | | |
|
96 | * @return List↵ | | |
|
97 | */↵ | | |
|
98 | public List getBag() {↵ | | |
|
99 | return bag;↵ | | |
|
100 | }↵ | | |
|
101 | ↵ | | |
|
102 | /**↵ | | |
|
103 | * Sets the bag.↵ | | |
|
104 | * @param bag The bag to set↵ | | |
|
105 | */↵ | | |
|
106 | public void setBag(List bag↵ | | 90 | title = title;↵
|
| | | 91 | }↵
|
| | | 92 | public PublicationDate getPubDate() {↵
|
| | | 93 | return pubDate;↵
|
| | | 94 | }↵
|
107 | ) {↵ | | 95 | public void setPubDate(PublicationDate pubDate) {↵
|
108 | this.bag = bag;↵ | | 96 | this.↵
|
109 | }↵ | | |
|
110 | ↵ | | |
|
111 | /**↵ | | |
|
112 | * Returns the mypo.↵ | | |
|
113 | * @return Po↵ | | |
|
114 | */↵ | | 97 | pubDate = pubDate;↵
|
| | | 98 | }↵
|
115 | public Po getMypo() {↵ | | 99 | public int getTotalSales() {↵
|
116 | return mypo;↵ | | 100 | return ↵
|
117 | }↵ | | |
|
118 | ↵ | | |
|
119 | /**↵ | | |
|
120 | * Sets the mypo.↵ | | |
|
121 | * @param mypo The mypo to set↵ | | |
|
122 | */↵ | | |
|
123 | public void setMypo(Po mypo) {↵ | | |
|
124 | this.mypo = mypo↵ | | 101 | totalSales;↵
|
| | | 102 | }↵
|
| | | 103 | public void setTotalSales(int totalSales) {↵
|
125 | ;↵ | | 104 | this.totalSales = totalSales;↵
|
126 | | | 105 |
|