1 | public class Transaction {↵ | | 1 | public class DocumentImpl extends ItemImpl implements Document {↵
|
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private String description;↵ | | |
|
4 | private MonetoryAmount value;↵ | | |
|
5 | ↵ | | |
|
6 | public String getDescription() {↵ | | |
|
7 | return description;↵ | | |
|
8 | }↵ | | |
|
9 | ↵ | | |
|
10 | public void setDescription(String description) {↵ | | |
|
11 | this.description = description;↵ | | |
|
12 | }↵ | | |
|
13 | ↵ | | |
|
14 | public Long getId() {↵ | | |
|
15 | return id;↵ | | |
|
16 | }↵ | | |
|
17 | ↵ | | |
|
18 | public void setId(Long i↵ | | 3 | Blob content;↵
|
| | | 4 | private Calendar modified;↵
|
| | | 5 | private Calendar created;↵
|
| | | 6 | /**↵
|
| | | 7 | * @return Returns the created.↵
|
| | | 8 | */↵
|
| | | 9 | public Calendar getCreated() {↵
|
| | | 10 | return created;↵
|
| | | 11 | }↵
|
| | | 12 | /**↵
|
| | | 13 | * @param created The created to set.↵
|
| | | 14 | */↵
|
| | | 15 | public void setCreated(Calendar created) {↵
|
| | | 16 | this.created = created;↵
|
| | | 17 | }↵
|
| | | 18 | /**↵
|
| | | 19 | * @return Returns the modified.↵
|
| | | 20 | */↵
|
| | | 21 | public Calendar getModified() {↵
|
| | | 22 | return modified;↵
|
| | | 23 | }↵
|
| | | 24 | /**↵
|
| | | 25 | * @param modified The modified to set.↵
|
| | | 26 | */↵
|
19 | d) {↵ | | 27 | public void setModified(Calendar modified) {↵
|
20 | this.id = id;↵ | | 28 | this.↵
|
21 | }↵ | | |
|
22 | ↵ | | |
|
23 | public MonetoryAmount getValue() {↵ | | |
|
24 | return value;↵ | | |
|
25 | }↵ | | |
|
26 | ↵ | | 29 | 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 | */↵
|
27 | public void setValue(MonetoryAmount value) {↵ | | 40 | public void set↵
|
28 | this.value = value | | 41 | Content(Blob content) {↵
|
| | | 42 | this.content = content
|