1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.rice.kim.bo.ui; |
17 |
|
|
18 |
|
import org.hibernate.annotations.GenericGenerator; |
19 |
|
import org.hibernate.annotations.Parameter; |
20 |
|
|
21 |
|
import javax.persistence.*; |
22 |
|
import java.sql.Date; |
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
@author |
28 |
|
|
29 |
|
|
30 |
|
@IdClass(PersonDocumentCitizenshipId.class) |
31 |
|
@Entity |
32 |
|
@Table(name = "KRIM_PND_CTZNSHP_MT") |
|
|
| 0% |
Uncovered Elements: 24 (24) |
Complexity: 12 |
Complexity Density: 1 |
|
33 |
|
public class PersonDocumentCitizenship extends KimDocumentBoActivatableEditableBase { |
34 |
|
@Id |
35 |
|
@GeneratedValue(generator="KRIM_ENTITY_CTZNSHP_ID_S") |
36 |
|
@GenericGenerator(name="KRIM_ENTITY_CTZNSHP_ID_S",strategy="org.kuali.rice.core.jpa.spring.RiceNumericStringSequenceStyleGenerator",parameters={ |
37 |
|
@Parameter(name="sequence_name",value="KRIM_ENTITY_CTZNSHP_ID_S"), |
38 |
|
@Parameter(name="value_column",value="id") |
39 |
|
}) |
40 |
|
@Column(name = "ENTITY_CTZNSHP_ID") |
41 |
|
protected String entityCitizenshipId; |
42 |
|
|
43 |
|
@Column(name = "ENTITY_ID") |
44 |
|
protected String entityId; |
45 |
|
|
46 |
|
@Column(name = "POSTAL_CNTRY_CD") |
47 |
|
protected String countryCode; |
48 |
|
|
49 |
|
@Column(name = "CTZNSHP_STAT_CD") |
50 |
|
protected String citizenshipStatusCode; |
51 |
|
|
52 |
|
@Column(name = "strt_dt") |
53 |
|
protected Date startDate; |
54 |
|
|
55 |
|
@Column(name = "end_dt") |
56 |
|
protected Date endDate; |
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
@see |
61 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
62 |
0
|
public String getCitizenshipStatusCode() {... |
63 |
0
|
return citizenshipStatusCode; |
64 |
|
} |
65 |
|
|
66 |
|
|
67 |
|
@see |
68 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
69 |
0
|
public Date getEndDate() {... |
70 |
0
|
return endDate; |
71 |
|
} |
72 |
|
|
73 |
|
|
74 |
|
@see |
75 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
76 |
0
|
public String getEntityCitizenshipId() {... |
77 |
0
|
return entityCitizenshipId; |
78 |
|
} |
79 |
|
|
80 |
|
|
81 |
|
@see |
82 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
83 |
0
|
public Date getStartDate() {... |
84 |
0
|
return startDate; |
85 |
|
} |
86 |
|
|
87 |
|
|
88 |
|
@see |
89 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
90 |
0
|
public void setCitizenshipStatusCode(String citizenshipStatusCode) {... |
91 |
0
|
this.citizenshipStatusCode = citizenshipStatusCode; |
92 |
|
} |
93 |
|
|
94 |
|
|
95 |
|
@see |
96 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
0
|
public void setEndDate(Date endDate) {... |
98 |
0
|
this.endDate = endDate; |
99 |
|
} |
100 |
|
|
101 |
|
|
102 |
|
@see |
103 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
104 |
0
|
public void setStartDate(Date startDate) {... |
105 |
0
|
this.startDate = startDate; |
106 |
|
} |
107 |
|
|
108 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
109 |
0
|
public String getEntityId() {... |
110 |
0
|
return this.entityId; |
111 |
|
} |
112 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
113 |
0
|
public void setEntityId(String entityId) {... |
114 |
0
|
this.entityId = entityId; |
115 |
|
} |
116 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
117 |
0
|
public String getCountryCode() {... |
118 |
0
|
return this.countryCode; |
119 |
|
} |
120 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
121 |
0
|
public void setCountryCode(String countryCode) {... |
122 |
0
|
this.countryCode = countryCode; |
123 |
|
} |
124 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
0
|
public void setEntityCitizenshipId(String entityCitizenshipId) {... |
126 |
0
|
this.entityCitizenshipId = entityCitizenshipId; |
127 |
|
} |
128 |
|
} |