1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package fr.paris.lutece.plugins.identitystore.business.duplicates.suspicions;
35
36 import javax.validation.constraints.NotEmpty;
37 import javax.validation.constraints.Size;
38 import java.io.Serializable;
39 import java.sql.Timestamp;
40 import java.util.HashMap;
41 import java.util.Map;
42
43
44
45
46 public class SuspiciousIdentity implements Serializable
47 {
48 private static final long serialVersionUID = 1L;
49
50
51 private int _nId;
52
53 @NotEmpty( message = "#i18n{module.identitystore.quality.validation.suspiciousidentity.CustomerId.notEmpty}" )
54 @Size( max = 50, message = "#i18n{module.identitystore.quality.validation.suspiciousidentity.CustomerId.size}" )
55 private String _strCustomerId;
56 private String _strDuplicateRuleCode;
57 private Integer _nIdDuplicateRule;
58 private boolean _bIsDeleted;
59 private Timestamp _dateCreationDate;
60 private Timestamp _dateLastUpdateDate;
61 private SuspiciousIdentityLock lock;
62 protected Map<String, String> metadata = new HashMap<>( );
63
64
65
66
67
68
69 public int getId( )
70 {
71 return _nId;
72 }
73
74
75
76
77
78
79
80 public void setId( int nId )
81 {
82 _nId = nId;
83 }
84
85
86
87
88
89
90 public String getCustomerId( )
91 {
92 return _strCustomerId;
93 }
94
95
96
97
98
99
100
101 public void setCustomerId( String strCustomerId )
102 {
103 _strCustomerId = strCustomerId;
104 }
105
106
107
108
109
110
111 public Integer getIdDuplicateRule( )
112 {
113 return _nIdDuplicateRule;
114 }
115
116
117
118
119
120
121
122 public void setIdDuplicateRule( int _nIdDuplicateRule )
123 {
124 this._nIdDuplicateRule = _nIdDuplicateRule;
125 }
126
127
128
129
130
131
132 public String getDuplicateRuleCode( )
133 {
134 return _strDuplicateRuleCode;
135 }
136
137
138
139
140
141
142
143 public void setDuplicateRuleCode( String _strDuplicateRuleCode )
144 {
145 this._strDuplicateRuleCode = _strDuplicateRuleCode;
146 }
147
148 public Timestamp getCreationDate( )
149 {
150 return _dateCreationDate;
151 }
152
153 public void setCreationDate( Timestamp creationDate )
154 {
155 this._dateCreationDate = creationDate;
156 }
157
158 public Timestamp getLastUpdateDate( )
159 {
160 return _dateLastUpdateDate;
161 }
162
163 public void setLastUpdateDate( Timestamp lastUpdateDate )
164 {
165 this._dateLastUpdateDate = lastUpdateDate;
166 }
167
168 public boolean isDeleted( )
169 {
170 return _bIsDeleted;
171 }
172
173
174
175
176
177
178
179 public void setDeleted( boolean bIsDeleted )
180 {
181 _bIsDeleted = bIsDeleted;
182 }
183
184 public SuspiciousIdentityLock getLock( )
185 {
186 return lock;
187 }
188
189 public void setLock( SuspiciousIdentityLock lock )
190 {
191 this.lock = lock;
192 }
193
194 public Map<String, String> getMetadata( )
195 {
196 return metadata;
197 }
198
199 public void setMetadata( Map<String, String> metadata )
200 {
201 this.metadata = metadata;
202 }
203 }