1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kim.bo.entity.dto;
17
18 import org.kuali.rice.kim.bo.entity.KimEntityEthnicity;
19
20
21
22
23 public class KimEntityEthnicityInfo extends KimInfoBase implements KimEntityEthnicity {
24
25 private static final long serialVersionUID = -5660229079458643653L;
26
27 protected String id;
28 protected String entityId;
29 protected String ethnicityCode;
30 protected String ethnicityCodeUnmasked;
31 protected String subEthnicityCode;
32 protected String subEthnicityCodeUnmasked;
33
34 protected boolean suppressPersonal;
35
36 public KimEntityEthnicityInfo() {
37 super();
38 }
39
40 public KimEntityEthnicityInfo(KimEntityEthnicity kimEntityEthnicity) {
41 this();
42 if ( kimEntityEthnicity != null ) {
43 id = kimEntityEthnicity.getId();
44 entityId = kimEntityEthnicity.getEntityId();
45 ethnicityCode = kimEntityEthnicity.getEthnicityCode();
46 ethnicityCodeUnmasked = kimEntityEthnicity.getEthnicityCodeUnmasked();
47 subEthnicityCode = kimEntityEthnicity.getSubEthnicityCode();
48 subEthnicityCodeUnmasked = kimEntityEthnicity.getSubEthnicityCodeUnmasked();
49 suppressPersonal = kimEntityEthnicity.isSuppressPersonal();
50 }
51 }
52
53
54
55
56
57 public String getId() {
58 return id;
59 }
60
61
62
63
64 public void setId(String id) {
65 this.id = id;
66 }
67
68
69
70
71
72 public String getEntityId() {
73 return entityId;
74 }
75
76
77
78
79 public void setEntityId(String entityId) {
80 this.entityId = entityId;
81 }
82
83
84
85
86
87 public String getEthnicityCode() {
88 return ethnicityCode;
89 }
90
91
92
93
94 public void setEthnicityCode(String ethnicityCode) {
95 this.ethnicityCode = ethnicityCode;
96 }
97
98
99
100
101
102 public String getEthnicityCodeUnmasked() {
103 return ethnicityCodeUnmasked;
104 }
105
106
107
108
109 public void setEthnicityCodeUnmasked(String ethnicityCodeUnmasked) {
110 this.ethnicityCodeUnmasked = ethnicityCodeUnmasked;
111 }
112
113
114
115
116
117 public String getSubEthnicityCode() {
118 return subEthnicityCode;
119 }
120
121
122
123
124 public void setSubEthnicityCode(String subEthnicityCode) {
125 this.subEthnicityCode = subEthnicityCode;
126 }
127
128
129
130
131
132 public String getSubEthnicityCodeUnmasked() {
133 return subEthnicityCodeUnmasked;
134 }
135
136
137
138
139 public void setSubEthnicityCodeUnmasked(String subEthnicityCodeUnmasked) {
140 this.subEthnicityCodeUnmasked = subEthnicityCodeUnmasked;
141 }
142
143
144
145
146 public boolean isSuppressPersonal() {
147 return this.suppressPersonal;
148 }
149
150
151
152
153 public void setSuppressPersonal(boolean suppressPersonal) {
154 this.suppressPersonal = suppressPersonal;
155 }
156
157 }