1 | public class Blobber {↵ | | 1 | public class Account {
↵
|
2 | private int id;↵ | | 2 | private String accountId;
↵
|
3 | private Blob blob;↵ | | 3 | private ↵
|
4 | private Clob clob;↵ | | 4 | Person user;↵
|
| | | 5 | private char type;
↵
|
5 | /**↵ | | 6 | /**
↵
|
6 | * Returns the blob.↵ | | 7 | * @return Returns the ↵
|
7 | * @return Blob↵ | | 8 | user.
↵
|
8 | */↵ | | 9 | */
↵
|
9 | public Blob getBlob() {↵ | | 10 | public Person getUser() {
↵
|
10 | return blob;↵ | | 11 | return user;
↵
|
11 | }↵ | | 12 | }↵
|
| | | 13 |
↵
|
12 | /**↵ | | 14 | /**
↵
|
13 | * Returns the clob.↵ | | 15 | * ↵
|
14 | * @return Clob↵ | | 16 | @param user The user to set.
↵
|
15 | */↵ | | 17 | */
↵
|
16 | public Clob getClob() {↵ | | 18 | public void setUser(Person user) {
↵
|
17 | return clob;↵ | | 19 | this.user = user;
↵
|
18 | }↵ | | 20 | }↵
|
| | | 21 |
↵
|
19 | /**↵ | | 22 | /**
↵
|
20 | * Returns the id.↵ | | 23 | * @return Returns the ↵
|
21 | * @return int↵ | | 24 | accountId.
↵
|
22 | */↵ | | 25 | */
↵
|
23 | public int getId() {↵ | | 26 | public String getAccountId() {
↵
|
24 | return id;↵ | | 27 | return accountId;
↵
|
25 | }↵ | | 28 | }↵
|
| | | 29 |
↵
|
26 | /**↵ | | 30 | /**↵
|
27 | * Sets the blob.↵ | | 31 |
↵
|
28 | * @param blob The blob to set↵ | | 32 | * @param accountId The accountId to set.
↵
|
29 | */↵ | | 33 | */
↵
|
30 | public void setBlob(Blob blob) {↵ | | 34 | public void setAccountId(String accountId) {
↵
|
31 | this.blob = blob;↵ | | 35 | this.accountId = accountId;
↵
|
32 | }↵ | | 36 | }↵
|
| | | 37 |
↵
|
33 | /**↵ | | 38 | /**
↵
|
34 | * Sets the clob.↵ | | 39 | * ↵
|
35 | * @param clob The clob to set↵ | | 40 | @return Returns the type.
↵
|
36 | */↵ | | 41 | */
↵
|
37 | public void setClob(Clob clob) {↵ | | 42 | public char getType() {
↵
|
38 | this.clob = clob;↵ | | 43 | return type;
↵
|
39 | }↵ | | 44 | }↵
|
| | | 45 |
↵
|
40 | /**↵ | | 46 | /**↵
|
41 | * Sets the id.↵ | | 47 |
↵
|
42 | * @param id The id to set↵ | | 48 | * @param type The type to set.
↵
|
43 | */↵ | | 49 | */
↵
|
44 | public void setId(int id) {↵ | | 50 | public void setType(char type) {
↵
|
45 | this.id = id | | 51 | this.type = type
|