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 javax.persistence.Column;
19 import javax.persistence.Convert;
20 import javax.persistence.Entity;
21 import javax.persistence.Table;
22
23 import org.kuali.rice.krad.data.jpa.converters.BooleanYNConverter;
24
25
26
27
28
29
30
31 @Entity
32 @Table(name = "KRIM_PND_PRIV_PREF_MT")
33 public class PersonDocumentPrivacy extends KimDocumentBoEditableBase {
34 private static final long serialVersionUID = 1L;
35
36 @Column(name = "SUPPRESS_NM_IND")
37 @Convert(converter = BooleanYNConverter.class)
38 protected boolean suppressName;
39
40 @Column(name = "SUPPRESS_EMAIL_IND")
41 @Convert(converter = BooleanYNConverter.class)
42 protected boolean suppressEmail;
43
44 @Column(name = "SUPPRESS_ADDR_IND")
45 @Convert(converter = BooleanYNConverter.class)
46 protected boolean suppressAddress;
47
48 @Column(name = "SUPPRESS_PHONE_IND")
49 @Convert(converter = BooleanYNConverter.class)
50 protected boolean suppressPhone;
51
52 @Column(name = "SUPPRESS_PRSNL_IND")
53 @Convert(converter = BooleanYNConverter.class)
54 protected boolean suppressPersonal;
55
56
57
58
59 public boolean isSuppressAddress() {
60 return suppressAddress;
61 }
62
63
64
65
66 public boolean isSuppressEmail() {
67 return suppressEmail;
68 }
69
70
71
72
73 public boolean isSuppressName() {
74 return suppressName;
75 }
76
77
78
79
80 public boolean isSuppressPersonal() {
81 return suppressPersonal;
82 }
83
84
85
86
87 public boolean isSuppressPhone() {
88 return suppressPhone;
89 }
90
91
92
93
94 public void setSuppressAddress(boolean suppressAddress) {
95 this.suppressAddress = suppressAddress;
96 }
97
98
99
100
101 public void setSuppressEmail(boolean suppressEmail) {
102 this.suppressEmail = suppressEmail;
103 }
104
105
106
107
108 public void setSuppressName(boolean suppressName) {
109 this.suppressName = suppressName;
110 }
111
112
113
114
115 public void setSuppressPersonal(boolean suppressPersonal) {
116 this.suppressPersonal = suppressPersonal;
117 }
118
119
120
121
122 public void setSuppressPhone(boolean suppressPhone) {
123 this.suppressPhone = suppressPhone;
124 }
125 }