1 | public class Blobber {↵ | | 1 | public class Thing {↵
|
2 | private int id;↵ | | 2 | private long id;↵
|
3 | private Blob blob;↵ | | 3 | private ↵
|
4 | private Clob clob↵ | | 4 | String description;↵
|
5 | ;↵ | | 5 | private Being owner;↵
|
6 | /**↵ | | 6 | /**↵
|
7 | * Returns the blob.↵ | | 7 | * @return Returns the ↵
|
8 | * @return Blob↵ | | |
|
9 | */↵ | | |
|
10 | public Blob getBlob↵ | | 8 | description.↵
|
| | | 9 | */↵
|
11 | () {↵ | | 10 | public String getDescription() {↵
|
12 | return blob;↵ | | 11 | return description;↵
|
13 | }↵ | | 12 | }↵
|
|
14 | /**↵ | | 13 | /**↵
|
15 | * Returns the clob.↵ | | 14 | * ↵
|
16 | * @return Clob↵ | | |
|
17 | */↵ | | |
|
18 | public Clob getClob() {↵ | | |
|
19 | return clob↵ | | 15 | @param description The description to set.↵
|
| | | 16 | */↵
|
| | | 17 | public void setDescription(String description) {↵
|
20 | ;↵ | | 18 | this.description = description;↵
|
21 | }↵ | | 19 | }↵
|
|
22 | /**↵ | | 20 | /**↵
|
23 | * Returns the id.↵ | | 21 | * @return Returns the id.↵
|
24 | * @return int↵ | | 22 | ↵
|
25 | */↵ | | 23 | */↵
|
26 | public int getId() {↵ | | 24 | public long getId() {↵
|
27 | return id;↵ | | 25 | return id;↵
|
28 | }↵ | | 26 | }↵
|
|
29 | /**↵ | | 27 | /**↵
|
30 | * Sets the blob.↵ | | 28 | ↵
|
31 | * @param blob The blob to set↵ | | 29 | * @param id The id to set.↵
|
32 | */↵ | | 30 | */↵
|
33 | public void setBlob(Blob blob) {↵ | | 31 | public void set↵
|
34 | this.blob = blob↵ | | 32 | Id(long id) {↵
|
35 | ;↵ | | 33 | this.id = id;↵
|
36 | }↵ | | 34 | }↵
|
|
37 | /**↵ | | 35 | /**↵
|
38 | * Sets the clob.↵ | | 36 | * ↵
|
39 | * @param clob The clob to set↵ | | |
|
40 | */↵ | | |
|
41 | public void setClob(Clob clob) {↵ | | |
|
42 | this.clob = clob↵ | | 37 | @return Returns the owner.↵
|
| | | 38 | */↵
|
| | | 39 | public Being getOwner() {↵
|
43 | ;↵ | | 40 | return owner;↵
|
44 | }↵ | | 41 | }↵
|
|
45 | /**↵ | | 42 | /**↵
|
46 | * Sets the id.↵ | | 43 | * ↵
|
47 | * @param id The id to set↵ | | 44 | @param owner The owner to set.↵
|
48 | */↵ | | 45 | */↵
|
49 | public void setId(int id) {↵ | | 46 | public void set↵
|
50 | this.id = id↵ | | 47 | Owner(Being owner) {↵
|
51 | ;↵ | | 48 | this.owner = owner;↵
|
52 | | | 49 |
|