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.KimEntityEmail;
19
20
21
22
23 public class KimEntityEmailInfo extends KimDefaultableInfo implements KimEntityEmail {
24
25 private static final long serialVersionUID = 1L;
26
27 protected String entityEmailId;
28 protected String entityTypeCode;
29 protected String emailTypeCode;
30 protected String emailAddress;
31 protected String emailAddressUnmasked;
32
33 protected boolean suppressEmail = false;
34
35
36
37
38 public KimEntityEmailInfo() {
39 super();
40 active = true;
41 }
42
43
44
45
46 public KimEntityEmailInfo( KimEntityEmail email ) {
47 this();
48 if ( email != null ) {
49 this.entityEmailId = email.getEntityEmailId();
50 this.entityTypeCode = email.getEntityTypeCode();
51 this.emailTypeCode = email.getEmailTypeCode();
52 this.emailAddress = email.getEmailAddress();
53 this.emailAddressUnmasked = email.getEmailAddressUnmasked();
54 this.dflt = email.isDefault();
55 this.active = email.isActive();
56 this.suppressEmail = email.isSuppressEmail();
57 }
58 }
59
60
61
62
63
64 public String getEntityEmailId() {
65 return entityEmailId;
66 }
67
68
69
70
71 public void setEntityEmailId(String entityEmailId) {
72 this.entityEmailId = entityEmailId;
73 }
74
75
76
77
78
79 public String getEntityTypeCode() {
80 return entityTypeCode;
81 }
82
83
84
85
86 public void setEntityTypeCode(String entityTypeCode) {
87 this.entityTypeCode = entityTypeCode;
88 }
89
90
91
92
93
94 public String getEmailTypeCode() {
95 return emailTypeCode;
96 }
97
98
99
100
101 public void setEmailTypeCode(String emailTypeCode) {
102 this.emailTypeCode = emailTypeCode;
103 }
104
105
106
107
108
109 public String getEmailAddress() {
110 return emailAddress;
111 }
112
113
114
115
116 public void setEmailAddress(String emailAddress) {
117 this.emailAddress = emailAddress;
118 }
119
120
121
122
123
124 public String getEmailAddressUnmasked() {
125 return emailAddressUnmasked;
126 }
127
128
129
130
131 public void setEmailAddressUnmasked(String emailAddressUnmasked) {
132 this.emailAddressUnmasked = emailAddressUnmasked;
133 }
134
135
136
137
138
139 public boolean isSuppressEmail() {
140 return this.suppressEmail;
141 }
142
143
144
145
146 public void setSuppressEmail(boolean suppressEmail) {
147 this.suppressEmail = suppressEmail;
148 }
149
150 }