1 package org.kuali.ole.license.bo;
2
3 import org.kuali.rice.core.api.CoreApiServiceLocator;
4 import org.kuali.rice.krad.bo.PersistableBusinessObjectBase;
5
6 import java.sql.Timestamp;
7
8
9
10
11 public class OleEventLogBo extends PersistableBusinessObjectBase{
12
13 private String oleEventLogId;
14 private String eventType;
15 private Timestamp createdDate;
16 private String createdBy;
17 private String eventDescription;
18 private String oleLicenseRequestId;
19
20 private OleLicenseRequestBo oleLicenseRequestBo = new OleLicenseRequestBo();
21
22
23
24
25
26 public String getOleEventLogId() {
27 return oleEventLogId;
28 }
29
30
31
32
33
34 public void setOleEventLogId(String oleEventLogId) {
35 this.oleEventLogId = oleEventLogId;
36 }
37
38
39
40
41
42 public String getEventType() {
43 return eventType;
44 }
45
46
47
48
49
50 public void setEventType(String eventType) {
51 this.eventType = eventType;
52 }
53
54
55
56
57
58 public Timestamp getCreatedDate() {
59 return createdDate;
60 }
61
62
63
64
65
66 public void setCreatedDate(Timestamp createdDate) {
67 this.createdDate = createdDate;
68 }
69
70
71
72
73
74 public String getCreatedBy() {
75 return createdBy;
76 }
77
78
79
80
81
82 public void setCreatedBy(String createdBy) {
83 this.createdBy = createdBy;
84 }
85
86
87
88
89
90 public String getEventDescription() {
91 return eventDescription;
92 }
93
94
95
96
97
98 public void setEventDescription(String eventDescription) {
99 this.eventDescription = eventDescription;
100 }
101
102
103
104
105
106 public String getOleLicenseRequestId() {
107 return oleLicenseRequestId;
108 }
109
110
111
112
113
114 public void setOleLicenseRequestId(String oleLicenseRequestId) {
115 this.oleLicenseRequestId = oleLicenseRequestId;
116 }
117
118
119
120
121
122 public OleLicenseRequestBo getOleLicenseRequestBo() {
123 return oleLicenseRequestBo;
124 }
125
126
127
128
129
130 public void setOleLicenseRequestBo(OleLicenseRequestBo oleLicenseRequestBo) {
131 this.oleLicenseRequestBo = oleLicenseRequestBo;
132 }
133
134
135
136
137 public void setCurrentTimeStamp() {
138 final Timestamp now = CoreApiServiceLocator.getDateTimeService().getCurrentTimestamp();
139 this.setCreatedDate(now);
140 }
141 }