01: /**
02: *
03: */package org.emforge.xfer;
04:
05: /**
06: * For transferring a report object
07: *
08: * @author szakusov, 09.04.2008: created.
09: */
10: public class ReportTO extends PrimitiveTO {
11:
12: private int m_version;
13: private String m_description;
14: private String m_link;
15:
16: /**
17: * @param i_id is the report id
18: * @param i_name is the report page name
19: * @param i_version is the report version
20: * @param i_displayName is the report name
21: * @param i_description is the report description
22: * @param i_link is the link to report
23: */
24: public ReportTO(long i_id, String i_name, int i_version,
25: String i_displayName, String i_description, String i_link) {
26:
27: setId(i_id);
28: setName(i_name);
29: setDisplayName(i_displayName);
30: m_version = i_version;
31: m_description = i_description;
32: m_link = i_link;
33: }
34:
35: /**
36: * @return the version
37: */
38: public int getVersion() {
39:
40: return m_version;
41: }
42:
43: /**
44: * @param i_version the version to set
45: */
46: public void setVersion(int i_version) {
47:
48: m_version = i_version;
49: }
50:
51: /**
52: * @return the description
53: */
54: public String getDescription() {
55:
56: return m_description;
57: }
58:
59: /**
60: * @param i_description the description to set
61: */
62: public void setDescription(String i_description) {
63:
64: m_description = i_description;
65: }
66:
67: /**
68: * @return the link
69: */
70: public String getLink() {
71:
72: return m_link;
73: }
74:
75: /**
76: * @param i_link the link to set
77: */
78: public void setLink(String i_link) {
79:
80: m_link = i_link;
81: }
82: }
|