1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.mobility.notification.entity; |
17 |
|
|
18 |
|
import java.io.Serializable; |
19 |
|
import java.util.Date; |
20 |
|
|
21 |
|
import javax.persistence.Column; |
22 |
|
import javax.persistence.Entity; |
23 |
|
import javax.persistence.GeneratedValue; |
24 |
|
import javax.persistence.GenerationType; |
25 |
|
import javax.persistence.Id; |
26 |
|
import javax.persistence.Table; |
27 |
|
import javax.persistence.Temporal; |
28 |
|
import javax.persistence.TemporalType; |
29 |
|
import javax.persistence.Version; |
30 |
|
|
31 |
|
@Entity |
32 |
|
@Table(name="KME_NTFY_T") |
|
|
| 0% |
Uncovered Elements: 32 (32) |
Complexity: 16 |
Complexity Density: 1 |
|
33 |
|
public class Notification implements Serializable { |
34 |
|
|
35 |
|
private static final long serialVersionUID = -95981285235712123L; |
36 |
|
|
37 |
|
@Id |
38 |
|
@GeneratedValue(strategy = GenerationType.TABLE) |
39 |
|
@Column(name="ID") |
40 |
|
private Long notificationId; |
41 |
|
|
42 |
|
@Temporal(TemporalType.TIMESTAMP) |
43 |
|
@Column(name="STRT_DT") |
44 |
|
private Date startDate; |
45 |
|
|
46 |
|
@Temporal(TemporalType.TIMESTAMP) |
47 |
|
@Column(name="END_DT") |
48 |
|
private Date endDate; |
49 |
|
|
50 |
|
@Column(name="TTL") |
51 |
|
private String title; |
52 |
|
|
53 |
|
@Column(name="MSG") |
54 |
|
private String message; |
55 |
|
|
56 |
|
|
57 |
|
@Column(name="PRI_CMPS") |
58 |
|
private String primaryCampus; |
59 |
|
|
60 |
|
@Column(name="TYP") |
61 |
|
private Long notificationType; |
62 |
|
|
63 |
|
@Version |
64 |
|
@Column(name="VER_NBR") |
65 |
|
protected Long versionNumber; |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0
|
public Long getNotificationId() {... |
68 |
0
|
return notificationId; |
69 |
|
} |
70 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
0
|
public void setNotificationId(Long notificationId) {... |
72 |
0
|
this.notificationId = notificationId; |
73 |
|
} |
74 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
0
|
public Date getStartDate() {... |
76 |
0
|
return startDate; |
77 |
|
} |
78 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
79 |
0
|
public void setStartDate(Date startDate) {... |
80 |
0
|
this.startDate = startDate; |
81 |
|
} |
82 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
83 |
0
|
public Date getEndDate() {... |
84 |
0
|
return endDate; |
85 |
|
} |
86 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
0
|
public void setEndDate(Date endDate) {... |
88 |
0
|
this.endDate = endDate; |
89 |
|
} |
90 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
91 |
0
|
public String getTitle() {... |
92 |
0
|
return title; |
93 |
|
} |
94 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
95 |
0
|
public void setTitle(String title) {... |
96 |
0
|
this.title = title; |
97 |
|
} |
98 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
99 |
0
|
public String getMessage() {... |
100 |
0
|
return message; |
101 |
|
} |
102 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
0
|
public void setMessage(String message) {... |
104 |
0
|
this.message = message; |
105 |
|
} |
106 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
107 |
0
|
public String getPrimaryCampus() {... |
108 |
0
|
return primaryCampus; |
109 |
|
} |
110 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
111 |
0
|
public void setPrimaryCampus(String primaryCampus) {... |
112 |
0
|
this.primaryCampus = primaryCampus; |
113 |
|
} |
114 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
115 |
0
|
public Long getNotificationType() {... |
116 |
0
|
return notificationType; |
117 |
|
} |
118 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
119 |
0
|
public void setNotificationType(Long notificationType) {... |
120 |
0
|
this.notificationType = notificationType; |
121 |
|
} |
122 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
123 |
0
|
public Long getVersionNumber() {... |
124 |
0
|
return versionNumber; |
125 |
|
} |
126 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
127 |
0
|
public void setVersionNumber(Long versionNumber) {... |
128 |
0
|
this.versionNumber = versionNumber; |
129 |
|
} |
130 |
|
|
131 |
|
} |