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