1 package ecar.pojo;
2
3
4
5 import java.util.Date;
6 import java.util.HashSet;
7 import java.util.Set;
8 import javax.persistence.Column;
9 import javax.persistence.Entity;
10 import javax.persistence.FetchType;
11 import javax.persistence.GeneratedValue;
12 import javax.persistence.Id;
13 import javax.persistence.JoinColumn;
14 import javax.persistence.JoinTable;
15 import javax.persistence.ManyToMany;
16 import javax.persistence.ManyToOne;
17 import javax.persistence.OneToMany;
18 import javax.persistence.Table;
19 import javax.persistence.Temporal;
20 import javax.persistence.TemporalType;
21 import javax.persistence.Transient;
22
23 import org.hibernate.annotations.Cascade;
24 import org.hibernate.annotations.CascadeType;
25 import org.hibernate.annotations.GenericGenerator;
26
27 import ecar.dao.UsuarioDao;
28
29
30
31
32 @Entity
33 @Table(name = "TB_USUARIO_USU")
34 public class UsuarioUsu implements java.io.Serializable {
35
36 private static final long serialVersionUID = -5674423699155804262L;
37
38 private String cnpjCpfUsu;
39 private Long codUsu;
40 private String idUsuarioUsu;
41 private String idDominioUsu;
42 private String nomeUsu;
43 private String senhaUsu;
44 private String residEnderecoUsu;
45 private Date dataInclusaoUsu;
46 private Date dataUltAlteracaoUsu;
47 private String residComplementoUsu;
48 private String residDddUsu;
49 private String faxUsu;
50 private String residBairroUsu;
51 private String residCepUsu;
52 private Date dataNascimentoUsu;
53 private String email1Usu;
54 private String residTelefoneUsu;
55 private String residCidadeUsu;
56 private String indAtivoUsu;
57 private String indCompletoUsu;
58 private String dddFaxUsu;
59 private Date dataUltAcessoUsu;
60 private String comercEnderecoUsu;
61 private String comercCidadeUsu;
62 private String comercCepUsu;
63 private String comercBairroUsu;
64 private String comercComplementoUsu;
65 private String comercTelefoneUsu;
66 private String comercDddUsu;
67 private String email2Usu;
68 private String indAutentSisOpUsu;
69 private String residRamalUsu;
70 private String comercRamalUsu;
71 private Set<OrgaoOrg> orgaoOrgs = new HashSet<OrgaoOrg>(0);
72 private Set<EntidadeEnt> entidadeEnts = new HashSet<EntidadeEnt>(0);
73 private TipoEnderecoCorrTpec tipoEnderecoCorrTpec;
74 private Uf ufByComercUfUsu;
75 private Uf ufByResidUfUsu;
76 private Set<UsuarioAtributoUsua> usuarioAtributoUsuas = new HashSet<UsuarioAtributoUsua>(0);
77 private Set<ItemEstUsutpfuacIettutfa> itemEstUsutpfuacIettutfas = new HashSet<ItemEstUsutpfuacIettutfa>(0);
78 private Set<ItemEstUsutpfuacIettutfa> itemEstUsutpfuacIettutfaManutencaos = new HashSet<ItemEstUsutpfuacIettutfa>(0);
79 private Set<PontoCriticoPtc> pontoCriticoPtcs = new HashSet<PontoCriticoPtc>(0);
80 private Set<AcompReferenciaAref> acompReferenciaArefsByCodUsuIncAref = new HashSet<AcompReferenciaAref>(0);
81 private Set<AcompReferenciaAref> acompReferenciaArefsByCodUsuUltManutAref = new HashSet<AcompReferenciaAref>(0);
82 private Set<AcompRelatorioArel> acompRelatorioArelsByUsuarioUsu = new HashSet<AcompRelatorioArel>(0);
83 private Set<AcompRelatorioArel> acompRelatorioArelsByUsuarioUsuUltimaManutencao = new HashSet<AcompRelatorioArel>(0);
84 private Set<Log> logs = new HashSet<Log>(0);
85 private Set<ItemEstrutUsuarioIettus> itemEstrutUsuarioIettuses = new HashSet<ItemEstrutUsuarioIettus>(0);
86 private Set<SegmentoItemSgti> segmentoItemSgtis = new HashSet<SegmentoItemSgti>(0);
87 private Set<EfItemEstRealizadoEfier> efItemEstRealizadoEfiers = new HashSet<EfItemEstRealizadoEfier>(0);
88 private Set<ApontamentoApt> apontamentoApts = new HashSet<ApontamentoApt>(0);
89 private Set<EstruturaEtt> estruturaEtts = new HashSet<EstruturaEtt>(0);
90 private Set<ItemEstruturaIett> itemEstruturaIettsByCodUsuUltManutIett = new HashSet<ItemEstruturaIett>(0);
91 private Set<ItemEstruturaIett> itemEstruturaIettsByCodUsuIncIett = new HashSet<ItemEstruturaIett>(0);
92 private Set<RegControleAcessoRca> regControleAcessoRcas = new HashSet<RegControleAcessoRca>(0);
93 private Set<SegmentoCategoriaSgtc> segmentoCategoriaSgtcs = new HashSet<SegmentoCategoriaSgtc>(0);
94 private Set<SegmentoSgt> segmentoSgts = new HashSet<SegmentoSgt>(0);
95 private Set<ItemEstrutMarcadorIettm> itemEstrutMarcadorIettms = new HashSet<ItemEstrutMarcadorIettm>(0);
96 private Set<ItemEstrutUploadIettup> itemEstrutUploadIettups = new HashSet<ItemEstrutUploadIettup>(0);
97 private Set<ItemEstrutUploadIettup> itemEstrutUploadIettupsUsuManutencao = new HashSet<ItemEstrutUploadIettup>(0);
98 private Set<AgendaAge> agendaAges = new HashSet<AgendaAge>(0);
99 private Set<UnidadeOrcamentariaUO> unidadeOrcamentariaUO = new HashSet<UnidadeOrcamentariaUO>(0);
100 private Set<RegDemandaRegd> regDemandaRegdsByCodUsuInclusaoRegd = new HashSet<RegDemandaRegd>(0);
101 private Set<ItemEstruturarevisaoIettrev> itemEstruturaRevisaoIettRevs = new HashSet<ItemEstruturarevisaoIettrev>(0);
102 private Set<IettUsutpfuacrevIettutfar> iettUsutpfuacrevIettutfars = new HashSet<IettUsutpfuacrevIettutfar>(0);
103 private Set<ItemEstrutAcaoIetta> itemEstrutAcaoIettas = new HashSet<ItemEstrutAcaoIetta>(0);
104 private Set<ItemEstruturaSisAtributoIettSatb> itemEstruturaSisAtributoIettSatbs = new HashSet<ItemEstruturaSisAtributoIettSatb>(0);
105 private Set<ImportacaoImp> ImportacaoImps = new HashSet<ImportacaoImp>(0);
106 private Set<ContasRejeitadasCrej> contasRejeitadasCrejs = new HashSet<ContasRejeitadasCrej>(0);
107 private Set<ItemEstrutAcaoIetta> itemEstrutAcaoIettaUsuManuts = new HashSet<ItemEstrutAcaoIetta>(0);
108 private Set<HistoricoMaster> historicoMasters = new HashSet<HistoricoMaster>(0);
109 private Set<HistoricoIettH> historicoIettHincs = new HashSet<HistoricoIettH>(0);
110 private Set<HistoricoIettH> historicoIettHmanuts = new HashSet<HistoricoIettH>(0);
111 private Set<HistoricoIettaH> historicoIettaHs = new HashSet<HistoricoIettaH>(0);
112 private Set<HistoricoIettaH> historicoIettaHusus = new HashSet<HistoricoIettaH>(0);
113 private Set<HistoricoIettbH> historicoIettbHs = new HashSet<HistoricoIettbH>(0);
114 private Set<HistoricoIettcH> historicoIettcHs = new HashSet<HistoricoIettcH>(0);
115 private Set<HistoricoIetteH> historicoIetteHs = new HashSet<HistoricoIetteH>(0);
116 private Set<HistoricoIettfH> historicoIettfHs = new HashSet<HistoricoIettfH>(0);
117 private Set<HistoricoIettlH> historicoIettlHs = new HashSet<HistoricoIettlH>(0);
118 private Set<HistoricoIettrH> historicoIettrHs = new HashSet<HistoricoIettrH>(0);
119 private Set<HistoricoIettupH> historicoIettupHs = new HashSet<HistoricoIettupH>(0);
120 private Set<HistoricoIettupH> historicoIettupHusus = new HashSet<HistoricoIettupH>(0);
121 private Set<HistoricoIettusH> historicoIettusHs = new HashSet<HistoricoIettusH>(0);
122 private Set<HistoricoIettutfaH> historicoIettutfaHmanuts = new HashSet<HistoricoIettutfaH>(0);
123 private Set<HistoricoIettutfaH> historicoIettutfaHs = new HashSet<HistoricoIettutfaH>(0);
124 private Set<HistoricoEfiecH> historicoEfiecHs = new HashSet<HistoricoEfiecH>(0);
125 private Set<HistoricoEfieftH> historicoEfieftHs = new HashSet<HistoricoEfieftH>(0);
126 private Set<HistoricoEfiepH> historicoEfiepHs = new HashSet<HistoricoEfiepH>(0);
127 private Set<HistoricoEfierH> historicoEfierHs = new HashSet<HistoricoEfierH>(0);
128 private Set<HistoricoEfierH> historicoEfierHusus = new HashSet<HistoricoEfierH>(0);
129 private Set<HistoricoIettSatbH> historicoIettSatbHs = new HashSet<HistoricoIettSatbH>(0);
130 private Set<ItemEstrutUsuarioIettus> itemEstrutUsuarioIettusManuts = new HashSet<ItemEstrutUsuarioIettus>(0);
131 private Set<ItemEstrutCriterioIettc> itemEstrutCriterioIettcs = new HashSet<ItemEstrutCriterioIettc>(0);
132 private Set<ItemEstrutEntidadeIette> itemEstrutEntidadeIette = new HashSet<ItemEstrutEntidadeIette>(0);
133 private Set<ItemEstrtBenefIettb> itemEstrtBenefIettb = new HashSet<ItemEstrtBenefIettb>(0);
134 private Set<ItemEstrutLocalIettl> itemEstrutLocalIettl = new HashSet<ItemEstrutLocalIettl>(0);
135 private Set<ItemEstrtIndResulIettr> itemEstrtIndResulIettr = new HashSet<ItemEstrtIndResulIettr>(0);
136 private Set<Email> emailsRecebidos = new HashSet<Email>(0);
137
138 public UsuarioUsu() {
139 }
140
141 public UsuarioUsu(String idDominioUsu, String nomeUsu, String residEnderecoUsu, Date dataInclusaoUsu, Date dataUltAlteracaoUsu, String residComplementoUsu, String residDddUsu, String faxUsu, String residBairroUsu, String residCepUsu, Date dataNascimentoUsu, String email1Usu, String residTelefoneUsu, String residCidadeUsu, String indAtivoUsu, String indCompletoUsu, String dddFaxUsu, Date dataUltAcessoUsu, String comercEnderecoUsu, String comercCidadeUsu, String comercCepUsu, String comercBairroUsu, String comercComplementoUsu, String comercTelefoneUsu, String comercDddUsu, String email2Usu, String indAutentSisOpUsu, String residRamalUsu, String comercRamalUsu, Set<OrgaoOrg> orgaoOrgs, Set<EntidadeEnt> entidadeEnts, TipoEnderecoCorrTpec tipoEnderecoCorrTpec, Uf ufByComercUfUsu, Uf ufByResidUfUsu, Set<UsuarioAtributoUsua> usuarioAtributoUsuas, Set<ItemEstUsutpfuacIettutfa> itemEstUsutpfuacIettutfas, Set<ItemEstUsutpfuacIettutfa> itemEstUsutpfuacIettutfaManutencaos, Set<PontoCriticoPtc> pontoCriticoPtcs, Set<AcompReferenciaAref> acompReferenciaArefsByCodUsuIncAref, Set<AcompReferenciaAref> acompReferenciaArefsByCodUsuUltManutAref, Set<AcompRelatorioArel> acompRelatorioArelsByUsuarioUsu, Set<AcompRelatorioArel> acompRelatorioArelsByUsuarioUsuUltimaManutencao, Set<Log> logs, Set<ItemEstrutUsuarioIettus> itemEstrutUsuarioIettuses, Set<SegmentoItemSgti> segmentoItemSgtis, Set<EfItemEstRealizadoEfier> efItemEstRealizadoEfiers, Set<ApontamentoApt> apontamentoApts, Set<EstruturaEtt> estruturaEtts, Set<ItemEstruturaIett> itemEstruturaIettsByCodUsuUltManutIett, Set<ItemEstruturaIett> itemEstruturaIettsByCodUsuIncIett, Set<RegControleAcessoRca> regControleAcessoRcas, Set<SegmentoCategoriaSgtc> segmentoCategoriaSgtcs, Set<SegmentoSgt> segmentoSgts, Set<ItemEstrutMarcadorIettm> itemEstrutMarcadorIettms, Set<ItemEstrutUploadIettup> itemEstrutUploadIettups, Set<ItemEstrutUploadIettup> itemEstrutUploadIettupsUsuManutencao, Set<AgendaAge> agendaAges, Set<UnidadeOrcamentariaUO> unidadeOrcamentariaUO, Set<RegDemandaRegd> regDemandaRegdsByCodUsuInclusaoRegd, Set<ItemEstruturarevisaoIettrev> itemEstruturaRevisaoIettRevs, Set<IettUsutpfuacrevIettutfar> iettUsutpfuacrevIettutfars, Set<ItemEstrutAcaoIetta> itemEstrutAcaoIettas, Set<ItemEstruturaSisAtributoIettSatb> itemEstruturaSisAtributoIettSatbs, Set<ImportacaoImp> ImportacaoImps, Set<ContasRejeitadasCrej> contasRejeitadasCrejs, Set<ItemEstrutAcaoIetta> itemEstrutAcaoIettaUsuManuts, Set<HistoricoMaster> historicoMasters, Set<HistoricoIettH> historicoIettHincs, Set<HistoricoIettH> historicoIettHmanuts, Set<HistoricoIettaH> historicoIettaHs, Set<HistoricoIettaH> historicoIettaHusus, Set<HistoricoIettbH> historicoIettbHs, Set<HistoricoIettcH> historicoIettcHs, Set<HistoricoIetteH> historicoIetteHs, Set<HistoricoIettfH> historicoIettfHs, Set<HistoricoIettlH> historicoIettlHs, Set<HistoricoIettrH> historicoIettrHs, Set<HistoricoIettupH> historicoIettupHs, Set<HistoricoIettupH> historicoIettupHusus, Set<HistoricoIettusH> historicoIettusHs, Set<HistoricoIettutfaH> historicoIettutfaHmanuts, Set<HistoricoIettutfaH> historicoIettutfaHs, Set<HistoricoEfiecH> historicoEfiecHs, Set<HistoricoEfieftH> historicoEfieftHs, Set<HistoricoEfiepH> historicoEfiepHs, Set<HistoricoEfierH> historicoEfierHs, Set<HistoricoEfierH> historicoEfierHusus, Set<HistoricoIettSatbH> historicoIettSatbHs, Set<ItemEstrutUsuarioIettus> itemEstrutUsuarioIettusManuts, Set<ItemEstrutCriterioIettc> itemEstrutCriterioIettcs, Set<ItemEstrutEntidadeIette> itemEstrutEntidadeIette, Set<ItemEstrtBenefIettb> itemEstrtBenefIettb, Set<ItemEstrutLocalIettl> itemEstrutLocalIettl, Set<ItemEstrtIndResulIettr> itemEstrtIndResulIettr, Set<Email> emailsRecebidos) {
142 this.idDominioUsu = idDominioUsu;
143 this.nomeUsu = nomeUsu;
144 this.residEnderecoUsu = residEnderecoUsu;
145 this.dataInclusaoUsu = dataInclusaoUsu;
146 this.dataUltAlteracaoUsu = dataUltAlteracaoUsu;
147 this.residComplementoUsu = residComplementoUsu;
148 this.residDddUsu = residDddUsu;
149 this.faxUsu = faxUsu;
150 this.residBairroUsu = residBairroUsu;
151 this.residCepUsu = residCepUsu;
152 this.dataNascimentoUsu = dataNascimentoUsu;
153 this.email1Usu = email1Usu;
154 this.residTelefoneUsu = residTelefoneUsu;
155 this.residCidadeUsu = residCidadeUsu;
156 this.indAtivoUsu = indAtivoUsu;
157 this.indCompletoUsu = indCompletoUsu;
158 this.dddFaxUsu = dddFaxUsu;
159 this.dataUltAcessoUsu = dataUltAcessoUsu;
160 this.comercEnderecoUsu = comercEnderecoUsu;
161 this.comercCidadeUsu = comercCidadeUsu;
162 this.comercCepUsu = comercCepUsu;
163 this.comercBairroUsu = comercBairroUsu;
164 this.comercComplementoUsu = comercComplementoUsu;
165 this.comercTelefoneUsu = comercTelefoneUsu;
166 this.comercDddUsu = comercDddUsu;
167 this.email2Usu = email2Usu;
168 this.indAutentSisOpUsu = indAutentSisOpUsu;
169 this.residRamalUsu = residRamalUsu;
170 this.comercRamalUsu = comercRamalUsu;
171 this.orgaoOrgs = orgaoOrgs;
172 this.entidadeEnts = entidadeEnts;
173 this.tipoEnderecoCorrTpec = tipoEnderecoCorrTpec;
174 this.ufByComercUfUsu = ufByComercUfUsu;
175 this.ufByResidUfUsu = ufByResidUfUsu;
176 this.usuarioAtributoUsuas = usuarioAtributoUsuas;
177 this.itemEstUsutpfuacIettutfas = itemEstUsutpfuacIettutfas;
178 this.itemEstUsutpfuacIettutfaManutencaos = itemEstUsutpfuacIettutfaManutencaos;
179 this.pontoCriticoPtcs = pontoCriticoPtcs;
180 this.acompReferenciaArefsByCodUsuIncAref = acompReferenciaArefsByCodUsuIncAref;
181 this.acompReferenciaArefsByCodUsuUltManutAref = acompReferenciaArefsByCodUsuUltManutAref;
182 this.acompRelatorioArelsByUsuarioUsu = acompRelatorioArelsByUsuarioUsu;
183 this.acompRelatorioArelsByUsuarioUsuUltimaManutencao = acompRelatorioArelsByUsuarioUsuUltimaManutencao;
184 this.logs = logs;
185 this.itemEstrutUsuarioIettuses = itemEstrutUsuarioIettuses;
186 this.segmentoItemSgtis = segmentoItemSgtis;
187 this.efItemEstRealizadoEfiers = efItemEstRealizadoEfiers;
188 this.apontamentoApts = apontamentoApts;
189 this.estruturaEtts = estruturaEtts;
190 this.itemEstruturaIettsByCodUsuUltManutIett = itemEstruturaIettsByCodUsuUltManutIett;
191 this.itemEstruturaIettsByCodUsuIncIett = itemEstruturaIettsByCodUsuIncIett;
192 this.regControleAcessoRcas = regControleAcessoRcas;
193 this.segmentoCategoriaSgtcs = segmentoCategoriaSgtcs;
194 this.segmentoSgts = segmentoSgts;
195 this.itemEstrutMarcadorIettms = itemEstrutMarcadorIettms;
196 this.itemEstrutUploadIettups = itemEstrutUploadIettups;
197 this.itemEstrutUploadIettupsUsuManutencao = itemEstrutUploadIettupsUsuManutencao;
198 this.agendaAges = agendaAges;
199 this.unidadeOrcamentariaUO = unidadeOrcamentariaUO;
200 this.regDemandaRegdsByCodUsuInclusaoRegd = regDemandaRegdsByCodUsuInclusaoRegd;
201 this.itemEstruturaRevisaoIettRevs = itemEstruturaRevisaoIettRevs;
202 this.iettUsutpfuacrevIettutfars = iettUsutpfuacrevIettutfars;
203 this.itemEstrutAcaoIettas = itemEstrutAcaoIettas;
204 this.itemEstruturaSisAtributoIettSatbs = itemEstruturaSisAtributoIettSatbs;
205 this.ImportacaoImps = ImportacaoImps;
206 this.contasRejeitadasCrejs = contasRejeitadasCrejs;
207 this.itemEstrutAcaoIettaUsuManuts = itemEstrutAcaoIettaUsuManuts;
208 this.historicoMasters = historicoMasters;
209 this.historicoIettHincs = historicoIettHincs;
210 this.historicoIettHmanuts = historicoIettHmanuts;
211 this.historicoIettaHs = historicoIettaHs;
212 this.historicoIettaHusus = historicoIettaHusus;
213 this.historicoIettbHs = historicoIettbHs;
214 this.historicoIettcHs = historicoIettcHs;
215 this.historicoIetteHs = historicoIetteHs;
216 this.historicoIettfHs = historicoIettfHs;
217 this.historicoIettlHs = historicoIettlHs;
218 this.historicoIettrHs = historicoIettrHs;
219 this.historicoIettupHs = historicoIettupHs;
220 this.historicoIettupHusus = historicoIettupHusus;
221 this.historicoIettusHs = historicoIettusHs;
222 this.historicoIettutfaHmanuts = historicoIettutfaHmanuts;
223 this.historicoIettutfaHs = historicoIettutfaHs;
224 this.historicoEfiecHs = historicoEfiecHs;
225 this.historicoEfieftHs = historicoEfieftHs;
226 this.historicoEfiepHs = historicoEfiepHs;
227 this.historicoEfierHs = historicoEfierHs;
228 this.historicoEfierHusus = historicoEfierHusus;
229 this.historicoIettSatbHs = historicoIettSatbHs;
230 this.itemEstrutUsuarioIettusManuts = itemEstrutUsuarioIettusManuts;
231 this.itemEstrutCriterioIettcs = itemEstrutCriterioIettcs;
232 this.itemEstrutEntidadeIette = itemEstrutEntidadeIette;
233 this.itemEstrtBenefIettb = itemEstrtBenefIettb;
234 this.itemEstrutLocalIettl = itemEstrutLocalIettl;
235 this.itemEstrtIndResulIettr = itemEstrtIndResulIettr;
236 this.emailsRecebidos = emailsRecebidos;
237 }
238
239 @GenericGenerator(name = "generator", strategy = "increment")
240 @Id
241 @GeneratedValue(generator = "generator")
242 @Column(name = "COD_USU", nullable = false)
243 public Long getCodUsu() {
244 return this.codUsu;
245 }
246
247 @Transient
248 public String getSenhaUsu() {
249 return this.senhaUsu;
250 }
251
252 @Transient
253 public String getIdUsuarioUsu() {
254 if (this.getIdDominioUsu() != null && !"".equals(this.getIdDominioUsu().trim())) {
255 UsuarioDao usuarioDao = new UsuarioDao(null);
256
257
258 String login = usuarioDao.getLoginUsuarioSentinela(Long.parseLong(this.getIdDominioUsu()));
259
260 this.setIdUsuarioUsu(login);
261 }
262
263 return this.idUsuarioUsu;
264 }
265
266 public void setSenhaUsu(String senhaUsu) {
267 this.senhaUsu = senhaUsu;
268 }
269
270 public void setIdUsuarioUsu(String idUsuarioUsu) {
271 this.idUsuarioUsu = idUsuarioUsu;
272 }
273
274 public void setCodUsu(Long codUsu) {
275 this.codUsu = codUsu;
276 }
277
278 @Column(name = "ID_DOMINIO_USU", length = 20)
279 public String getIdDominioUsu() {
280 return this.idDominioUsu;
281 }
282
283 public void setIdDominioUsu(String idDominioUsu) {
284 this.idDominioUsu = idDominioUsu;
285 }
286
287 @Column(name = "NOME_USU", length = 50)
288 public String getNomeUsu() {
289 return this.nomeUsu;
290 }
291
292 public void setNomeUsu(String nomeUsu) {
293 this.nomeUsu = nomeUsu;
294 }
295
296 @Column(name = "RESID_ENDERECO_USU", length = 50)
297 public String getResidEnderecoUsu() {
298 return this.residEnderecoUsu;
299 }
300
301 public void setResidEnderecoUsu(String residEnderecoUsu) {
302 this.residEnderecoUsu = residEnderecoUsu;
303 }
304
305 @Temporal(TemporalType.TIMESTAMP)
306 @Column(name = "DATA_INCLUSAO_USU", length = 7)
307 public Date getDataInclusaoUsu() {
308 return this.dataInclusaoUsu;
309 }
310
311 public void setDataInclusaoUsu(Date dataInclusaoUsu) {
312 this.dataInclusaoUsu = dataInclusaoUsu;
313 }
314
315 @Temporal(TemporalType.TIMESTAMP)
316 @Column(name = "DATA_ULT_ALTERACAO_USU", length = 7)
317 public Date getDataUltAlteracaoUsu() {
318 return this.dataUltAlteracaoUsu;
319 }
320
321 public void setDataUltAlteracaoUsu(Date dataUltAlteracaoUsu) {
322 this.dataUltAlteracaoUsu = dataUltAlteracaoUsu;
323 }
324
325 @Column(name = "RESID_COMPLEMENTO_USU", length = 40)
326 public String getResidComplementoUsu() {
327 return this.residComplementoUsu;
328 }
329
330 public void setResidComplementoUsu(String residComplementoUsu) {
331 this.residComplementoUsu = residComplementoUsu;
332 }
333
334 @Column(name = "RESID_DDD_USU", length = 3)
335 public String getResidDddUsu() {
336 return this.residDddUsu;
337 }
338
339 public void setResidDddUsu(String residDddUsu) {
340 this.residDddUsu = residDddUsu;
341 }
342
343 @Column(name = "FAX_USU", length = 10)
344 public String getFaxUsu() {
345 return this.faxUsu;
346 }
347
348 public void setFaxUsu(String faxUsu) {
349 this.faxUsu = faxUsu;
350 }
351
352 @Column(name = "RESID_BAIRRO_USU", length = 40)
353 public String getResidBairroUsu() {
354 return this.residBairroUsu;
355 }
356
357 public void setResidBairroUsu(String residBairroUsu) {
358 this.residBairroUsu = residBairroUsu;
359 }
360
361 @Column(name = "RESID_CEP_USU", length = 8)
362 public String getResidCepUsu() {
363 return this.residCepUsu;
364 }
365
366 public void setResidCepUsu(String residCepUsu) {
367 this.residCepUsu = residCepUsu;
368 }
369
370 @Temporal(TemporalType.TIMESTAMP)
371 @Column(name = "DATA_NASCIMENTO_USU", length = 7)
372 public Date getDataNascimentoUsu() {
373 return this.dataNascimentoUsu;
374 }
375
376 public void setDataNascimentoUsu(Date dataNascimentoUsu) {
377 this.dataNascimentoUsu = dataNascimentoUsu;
378 }
379
380 @Column(name = "EMAIL1_USU", length = 50)
381 public String getEmail1Usu() {
382 return this.email1Usu;
383 }
384
385 public void setEmail1Usu(String email1Usu) {
386 this.email1Usu = email1Usu;
387 }
388
389 @Column(name = "RESID_TELEFONE_USU", length = 10)
390 public String getResidTelefoneUsu() {
391 return this.residTelefoneUsu;
392 }
393
394 public void setResidTelefoneUsu(String residTelefoneUsu) {
395 this.residTelefoneUsu = residTelefoneUsu;
396 }
397
398 @Column(name = "RESID_CIDADE_USU", length = 40)
399 public String getResidCidadeUsu() {
400 return this.residCidadeUsu;
401 }
402
403 public void setResidCidadeUsu(String residCidadeUsu) {
404 this.residCidadeUsu = residCidadeUsu;
405 }
406
407 @Column(name = "IND_ATIVO_USU", length = 1)
408 public String getIndAtivoUsu() {
409 return this.indAtivoUsu;
410 }
411
412 public void setIndAtivoUsu(String indAtivoUsu) {
413 this.indAtivoUsu = indAtivoUsu;
414 }
415
416 @Column(name = "IND_COMPLETO_USU", length = 1)
417 public String getIndCompletoUsu() {
418 return this.indCompletoUsu;
419 }
420
421 public void setIndCompletoUsu(String indCompletoUsu) {
422 this.indCompletoUsu = indCompletoUsu;
423 }
424
425 @Column(name = "DDD_FAX_USU", length = 3)
426 public String getDddFaxUsu() {
427 return this.dddFaxUsu;
428 }
429
430 public void setDddFaxUsu(String dddFaxUsu) {
431 this.dddFaxUsu = dddFaxUsu;
432 }
433
434 @Temporal(TemporalType.TIMESTAMP)
435 @Column(name = "DATA_ULT_ACESSO_USU", length = 7)
436 public Date getDataUltAcessoUsu() {
437 return this.dataUltAcessoUsu;
438 }
439
440 public void setDataUltAcessoUsu(Date dataUltAcessoUsu) {
441 this.dataUltAcessoUsu = dataUltAcessoUsu;
442 }
443
444 @Column(name = "COMERC_ENDERECO_USU", length = 50)
445 public String getComercEnderecoUsu() {
446 return this.comercEnderecoUsu;
447 }
448
449 public void setComercEnderecoUsu(String comercEnderecoUsu) {
450 this.comercEnderecoUsu = comercEnderecoUsu;
451 }
452
453 @Column(name = "COMERC_CIDADE_USU", length = 40)
454 public String getComercCidadeUsu() {
455 return this.comercCidadeUsu;
456 }
457
458 public void setComercCidadeUsu(String comercCidadeUsu) {
459 this.comercCidadeUsu = comercCidadeUsu;
460 }
461
462 @Column(name = "COMERC_CEP_USU", length = 8)
463 public String getComercCepUsu() {
464 return this.comercCepUsu;
465 }
466
467 public void setComercCepUsu(String comercCepUsu) {
468 this.comercCepUsu = comercCepUsu;
469 }
470
471 @Column(name = "COMERC_BAIRRO_USU", length = 40)
472 public String getComercBairroUsu() {
473 return this.comercBairroUsu;
474 }
475
476 public void setComercBairroUsu(String comercBairroUsu) {
477 this.comercBairroUsu = comercBairroUsu;
478 }
479
480 @Column(name = "COMERC_COMPLEMENTO_USU", length = 40)
481 public String getComercComplementoUsu() {
482 return this.comercComplementoUsu;
483 }
484
485 public void setComercComplementoUsu(String comercComplementoUsu) {
486 this.comercComplementoUsu = comercComplementoUsu;
487 }
488
489 @Column(name = "COMERC_TELEFONE_USU", length = 10)
490 public String getComercTelefoneUsu() {
491 return this.comercTelefoneUsu;
492 }
493
494 public void setComercTelefoneUsu(String comercTelefoneUsu) {
495 this.comercTelefoneUsu = comercTelefoneUsu;
496 }
497
498 @Column(name = "COMERC_DDD_USU", length = 3)
499 public String getComercDddUsu() {
500 return this.comercDddUsu;
501 }
502
503 public void setComercDddUsu(String comercDddUsu) {
504 this.comercDddUsu = comercDddUsu;
505 }
506
507 @Column(name = "EMAIL2_USU", length = 50)
508 public String getEmail2Usu() {
509 return this.email2Usu;
510 }
511
512 public void setEmail2Usu(String email2Usu) {
513 this.email2Usu = email2Usu;
514 }
515
516 @Column(name = "IND_AUTENT_SIS_OP_USU", length = 1)
517 public String getIndAutentSisOpUsu() {
518 return this.indAutentSisOpUsu;
519 }
520
521 public void setIndAutentSisOpUsu(String indAutentSisOpUsu) {
522 this.indAutentSisOpUsu = indAutentSisOpUsu;
523 }
524
525 @Column(name = "RESID_RAMAL_USU", length = 6)
526 public String getResidRamalUsu() {
527 return this.residRamalUsu;
528 }
529
530 public void setResidRamalUsu(String residRamalUsu) {
531 this.residRamalUsu = residRamalUsu;
532 }
533
534 @Column(name = "COMERC_RAMAL_USU", length = 6)
535 public String getComercRamalUsu() {
536 return this.comercRamalUsu;
537 }
538
539 public void setComercRamalUsu(String comercRamalUsu) {
540 this.comercRamalUsu = comercRamalUsu;
541 }
542
543 @ManyToMany(fetch = FetchType.EAGER)
544 @JoinTable(name = "TB_USUARIO_ORGAO_USUORG", joinColumns = { @JoinColumn(name = "COD_USU", nullable = false, updatable = false) }, inverseJoinColumns = { @JoinColumn(name = "COD_ORG", nullable = false, updatable = false) })
545 @Cascade( { CascadeType.SAVE_UPDATE })
546 public Set<OrgaoOrg> getOrgaoOrgs() {
547 return this.orgaoOrgs;
548 }
549
550 public void setOrgaoOrgs(Set<OrgaoOrg> orgaoOrgs) {
551 this.orgaoOrgs = orgaoOrgs;
552 }
553
554 @ManyToMany(fetch = FetchType.EAGER)
555 @JoinTable(name = "TB_USUARIO_ENTIDADE_USUENT", joinColumns = { @JoinColumn(name = "COD_USU", nullable = false, updatable = false) }, inverseJoinColumns = { @JoinColumn(name = "COD_ENT", nullable = false, updatable = false) })
556 @Cascade( { CascadeType.SAVE_UPDATE })
557 public Set<EntidadeEnt> getEntidadeEnts() {
558 return this.entidadeEnts;
559 }
560
561 public void setEntidadeEnts(Set<EntidadeEnt> entidadeEnts) {
562 this.entidadeEnts = entidadeEnts;
563 }
564
565 @ManyToOne(fetch = FetchType.LAZY)
566 @JoinColumn(name = "COD_TPEC")
567 public TipoEnderecoCorrTpec getTipoEnderecoCorrTpec() {
568 return this.tipoEnderecoCorrTpec;
569 }
570
571 public void setTipoEnderecoCorrTpec(TipoEnderecoCorrTpec tipoEnderecoCorrTpec) {
572 this.tipoEnderecoCorrTpec = tipoEnderecoCorrTpec;
573 }
574
575 @ManyToOne(fetch = FetchType.LAZY)
576 @JoinColumn(name = "COMERC_UF_USU")
577 public Uf getUfByComercUfUsu() {
578 return this.ufByComercUfUsu;
579 }
580
581 public void setUfByComercUfUsu(Uf ufByComercUfUsu) {
582 this.ufByComercUfUsu = ufByComercUfUsu;
583 }
584
585 @ManyToOne(fetch = FetchType.LAZY)
586 @JoinColumn(name = "RESID_UF_USU")
587 public Uf getUfByResidUfUsu() {
588 return this.ufByResidUfUsu;
589 }
590
591 public void setUfByResidUfUsu(Uf ufByResidUfUsu) {
592 this.ufByResidUfUsu = ufByResidUfUsu;
593 }
594
595 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
596 public Set<UsuarioAtributoUsua> getUsuarioAtributoUsuas() {
597 return this.usuarioAtributoUsuas;
598 }
599
600 public void setUsuarioAtributoUsuas(Set<UsuarioAtributoUsua> usuarioAtributoUsuas) {
601 this.usuarioAtributoUsuas = usuarioAtributoUsuas;
602 }
603
604 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
605 public Set<ItemEstUsutpfuacIettutfa> getItemEstUsutpfuacIettutfas() {
606 return this.itemEstUsutpfuacIettutfas;
607 }
608
609 public void setItemEstUsutpfuacIettutfas(Set<ItemEstUsutpfuacIettutfa> itemEstUsutpfuacIettutfas) {
610 this.itemEstUsutpfuacIettutfas = itemEstUsutpfuacIettutfas;
611 }
612
613 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
614 public Set<ItemEstUsutpfuacIettutfa> getItemEstUsutpfuacIettutfaManutencaos() {
615 return this.itemEstUsutpfuacIettutfaManutencaos;
616 }
617
618 public void setItemEstUsutpfuacIettutfaManutencaos(Set<ItemEstUsutpfuacIettutfa> itemEstUsutpfuacIettutfaManutencaos) {
619 this.itemEstUsutpfuacIettutfaManutencaos = itemEstUsutpfuacIettutfaManutencaos;
620 }
621
622 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
623 public Set<PontoCriticoPtc> getPontoCriticoPtcs() {
624 return this.pontoCriticoPtcs;
625 }
626
627 public void setPontoCriticoPtcs(Set<PontoCriticoPtc> pontoCriticoPtcs) {
628 this.pontoCriticoPtcs = pontoCriticoPtcs;
629 }
630
631 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuIncAref")
632 public Set<AcompReferenciaAref> getAcompReferenciaArefsByCodUsuIncAref() {
633 return this.acompReferenciaArefsByCodUsuIncAref;
634 }
635
636 public void setAcompReferenciaArefsByCodUsuIncAref(Set<AcompReferenciaAref> acompReferenciaArefsByCodUsuIncAref) {
637 this.acompReferenciaArefsByCodUsuIncAref = acompReferenciaArefsByCodUsuIncAref;
638 }
639
640 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuUltManutAref")
641 public Set<AcompReferenciaAref> getAcompReferenciaArefsByCodUsuUltManutAref() {
642 return this.acompReferenciaArefsByCodUsuUltManutAref;
643 }
644
645 public void setAcompReferenciaArefsByCodUsuUltManutAref(Set<AcompReferenciaAref> acompReferenciaArefsByCodUsuUltManutAref) {
646 this.acompReferenciaArefsByCodUsuUltManutAref = acompReferenciaArefsByCodUsuUltManutAref;
647 }
648
649 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
650 public Set<AcompRelatorioArel> getAcompRelatorioArelsByUsuarioUsu() {
651 return this.acompRelatorioArelsByUsuarioUsu;
652 }
653
654 public void setAcompRelatorioArelsByUsuarioUsu(Set<AcompRelatorioArel> acompRelatorioArelsByUsuarioUsu) {
655 this.acompRelatorioArelsByUsuarioUsu = acompRelatorioArelsByUsuarioUsu;
656 }
657
658 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuUltimaManutencao")
659 public Set<AcompRelatorioArel> getAcompRelatorioArelsByUsuarioUsuUltimaManutencao() {
660 return this.acompRelatorioArelsByUsuarioUsuUltimaManutencao;
661 }
662
663 public void setAcompRelatorioArelsByUsuarioUsuUltimaManutencao(Set<AcompRelatorioArel> acompRelatorioArelsByUsuarioUsuUltimaManutencao) {
664 this.acompRelatorioArelsByUsuarioUsuUltimaManutencao = acompRelatorioArelsByUsuarioUsuUltimaManutencao;
665 }
666
667 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
668 public Set<Log> getLogs() {
669 return this.logs;
670 }
671
672 public void setLogs(Set<Log> logs) {
673 this.logs = logs;
674 }
675
676 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
677 public Set<ItemEstrutUsuarioIettus> getItemEstrutUsuarioIettuses() {
678 return this.itemEstrutUsuarioIettuses;
679 }
680
681 public void setItemEstrutUsuarioIettuses(Set<ItemEstrutUsuarioIettus> itemEstrutUsuarioIettuses) {
682 this.itemEstrutUsuarioIettuses = itemEstrutUsuarioIettuses;
683 }
684
685 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
686 public Set<SegmentoItemSgti> getSegmentoItemSgtis() {
687 return this.segmentoItemSgtis;
688 }
689
690 public void setSegmentoItemSgtis(Set<SegmentoItemSgti> segmentoItemSgtis) {
691 this.segmentoItemSgtis = segmentoItemSgtis;
692 }
693
694 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
695 public Set<EfItemEstRealizadoEfier> getEfItemEstRealizadoEfiers() {
696 return this.efItemEstRealizadoEfiers;
697 }
698
699 public void setEfItemEstRealizadoEfiers(Set<EfItemEstRealizadoEfier> efItemEstRealizadoEfiers) {
700 this.efItemEstRealizadoEfiers = efItemEstRealizadoEfiers;
701 }
702
703 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
704 public Set<ApontamentoApt> getApontamentoApts() {
705 return this.apontamentoApts;
706 }
707
708 public void setApontamentoApts(Set<ApontamentoApt> apontamentoApts) {
709 this.apontamentoApts = apontamentoApts;
710 }
711
712 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
713 public Set<EstruturaEtt> getEstruturaEtts() {
714 return this.estruturaEtts;
715 }
716
717 public void setEstruturaEtts(Set<EstruturaEtt> estruturaEtts) {
718 this.estruturaEtts = estruturaEtts;
719 }
720
721 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuUltManutIett")
722 public Set<ItemEstruturaIett> getItemEstruturaIettsByCodUsuUltManutIett() {
723 return this.itemEstruturaIettsByCodUsuUltManutIett;
724 }
725
726 public void setItemEstruturaIettsByCodUsuUltManutIett(Set<ItemEstruturaIett> itemEstruturaIettsByCodUsuUltManutIett) {
727 this.itemEstruturaIettsByCodUsuUltManutIett = itemEstruturaIettsByCodUsuUltManutIett;
728 }
729
730 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuIncIett")
731 public Set<ItemEstruturaIett> getItemEstruturaIettsByCodUsuIncIett() {
732 return this.itemEstruturaIettsByCodUsuIncIett;
733 }
734
735 public void setItemEstruturaIettsByCodUsuIncIett(Set<ItemEstruturaIett> itemEstruturaIettsByCodUsuIncIett) {
736 this.itemEstruturaIettsByCodUsuIncIett = itemEstruturaIettsByCodUsuIncIett;
737 }
738
739 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
740 public Set<RegControleAcessoRca> getRegControleAcessoRcas() {
741 return this.regControleAcessoRcas;
742 }
743
744 public void setRegControleAcessoRcas(Set<RegControleAcessoRca> regControleAcessoRcas) {
745 this.regControleAcessoRcas = regControleAcessoRcas;
746 }
747
748 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
749 public Set<SegmentoCategoriaSgtc> getSegmentoCategoriaSgtcs() {
750 return this.segmentoCategoriaSgtcs;
751 }
752
753 public void setSegmentoCategoriaSgtcs(Set<SegmentoCategoriaSgtc> segmentoCategoriaSgtcs) {
754 this.segmentoCategoriaSgtcs = segmentoCategoriaSgtcs;
755 }
756
757 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
758 public Set<SegmentoSgt> getSegmentoSgts() {
759 return this.segmentoSgts;
760 }
761
762 public void setSegmentoSgts(Set<SegmentoSgt> segmentoSgts) {
763 this.segmentoSgts = segmentoSgts;
764 }
765
766 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
767 public Set<ItemEstrutMarcadorIettm> getItemEstrutMarcadorIettms() {
768 return this.itemEstrutMarcadorIettms;
769 }
770
771 public void setItemEstrutMarcadorIettms(Set<ItemEstrutMarcadorIettm> itemEstrutMarcadorIettms) {
772 this.itemEstrutMarcadorIettms = itemEstrutMarcadorIettms;
773 }
774
775 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
776 public Set<ItemEstrutUploadIettup> getItemEstrutUploadIettups() {
777 return this.itemEstrutUploadIettups;
778 }
779
780 public void setItemEstrutUploadIettups(Set<ItemEstrutUploadIettup> itemEstrutUploadIettups) {
781 this.itemEstrutUploadIettups = itemEstrutUploadIettups;
782 }
783
784 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuManutencao")
785 public Set<ItemEstrutUploadIettup> getItemEstrutUploadIettupsUsuManutencao() {
786 return this.itemEstrutUploadIettupsUsuManutencao;
787 }
788
789 public void setItemEstrutUploadIettupsUsuManutencao(Set<ItemEstrutUploadIettup> itemEstrutUploadIettupsUsuManutencao) {
790 this.itemEstrutUploadIettupsUsuManutencao = itemEstrutUploadIettupsUsuManutencao;
791 }
792
793 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
794 public Set<AgendaAge> getAgendaAges() {
795 return this.agendaAges;
796 }
797
798 public void setAgendaAges(Set<AgendaAge> agendaAges) {
799 this.agendaAges = agendaAges;
800 }
801
802 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
803 public Set<UnidadeOrcamentariaUO> getUnidadeOrcamentariaUO() {
804 return this.unidadeOrcamentariaUO;
805 }
806
807 public void setUnidadeOrcamentariaUO(Set<UnidadeOrcamentariaUO> unidadeOrcamentariaUO) {
808 this.unidadeOrcamentariaUO = unidadeOrcamentariaUO;
809 }
810
811 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuInclusaoRegd")
812 public Set<RegDemandaRegd> getRegDemandaRegdsByCodUsuInclusaoRegd() {
813 return this.regDemandaRegdsByCodUsuInclusaoRegd;
814 }
815
816 public void setRegDemandaRegdsByCodUsuInclusaoRegd(Set<RegDemandaRegd> regDemandaRegdsByCodUsuInclusaoRegd) {
817 this.regDemandaRegdsByCodUsuInclusaoRegd = regDemandaRegdsByCodUsuInclusaoRegd;
818 }
819
820 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuIncIettrev")
821 public Set<ItemEstruturarevisaoIettrev> getItemEstruturaRevisaoIettRevs() {
822 return this.itemEstruturaRevisaoIettRevs;
823 }
824
825 public void setItemEstruturaRevisaoIettRevs(Set<ItemEstruturarevisaoIettrev> itemEstruturaRevisaoIettRevs) {
826 this.itemEstruturaRevisaoIettRevs = itemEstruturaRevisaoIettRevs;
827 }
828
829 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
830 public Set<IettUsutpfuacrevIettutfar> getIettUsutpfuacrevIettutfars() {
831 return this.iettUsutpfuacrevIettutfars;
832 }
833
834 public void setIettUsutpfuacrevIettutfars(Set<IettUsutpfuacrevIettutfar> iettUsutpfuacrevIettutfars) {
835 this.iettUsutpfuacrevIettutfars = iettUsutpfuacrevIettutfars;
836 }
837
838 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
839 public Set<ItemEstrutAcaoIetta> getItemEstrutAcaoIettas() {
840 return this.itemEstrutAcaoIettas;
841 }
842
843 public void setItemEstrutAcaoIettas(Set<ItemEstrutAcaoIetta> itemEstrutAcaoIettas) {
844 this.itemEstrutAcaoIettas = itemEstrutAcaoIettas;
845 }
846
847 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
848 public Set<ItemEstruturaSisAtributoIettSatb> getItemEstruturaSisAtributoIettSatbs() {
849 return this.itemEstruturaSisAtributoIettSatbs;
850 }
851
852 public void setItemEstruturaSisAtributoIettSatbs(Set<ItemEstruturaSisAtributoIettSatb> itemEstruturaSisAtributoIettSatbs) {
853 this.itemEstruturaSisAtributoIettSatbs = itemEstruturaSisAtributoIettSatbs;
854 }
855
856 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
857 public Set<ImportacaoImp> getImportacaoImps() {
858 return this.ImportacaoImps;
859 }
860
861 public void setImportacaoImps(Set<ImportacaoImp> ImportacaoImps) {
862 this.ImportacaoImps = ImportacaoImps;
863 }
864
865 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
866 public Set<ContasRejeitadasCrej> getContasRejeitadasCrejs() {
867 return this.contasRejeitadasCrejs;
868 }
869
870 public void setContasRejeitadasCrejs(Set<ContasRejeitadasCrej> contasRejeitadasCrejs) {
871 this.contasRejeitadasCrejs = contasRejeitadasCrejs;
872 }
873
874 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuManutencao")
875 public Set<ItemEstrutAcaoIetta> getItemEstrutAcaoIettaUsuManuts() {
876 return this.itemEstrutAcaoIettaUsuManuts;
877 }
878
879 public void setItemEstrutAcaoIettaUsuManuts(Set<ItemEstrutAcaoIetta> itemEstrutAcaoIettaUsuManuts) {
880 this.itemEstrutAcaoIettaUsuManuts = itemEstrutAcaoIettaUsuManuts;
881 }
882
883 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
884 public Set<HistoricoMaster> getHistoricoMasters() {
885 return this.historicoMasters;
886 }
887
888 public void setHistoricoMasters(Set<HistoricoMaster> historicoMasters) {
889 this.historicoMasters = historicoMasters;
890 }
891
892 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuIncIett")
893 public Set<HistoricoIettH> getHistoricoIettHincs() {
894 return this.historicoIettHincs;
895 }
896
897 public void setHistoricoIettHincs(Set<HistoricoIettH> historicoIettHincs) {
898 this.historicoIettHincs = historicoIettHincs;
899 }
900
901 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuByCodUsuUltManutIett")
902 public Set<HistoricoIettH> getHistoricoIettHmanuts() {
903 return this.historicoIettHmanuts;
904 }
905
906 public void setHistoricoIettHmanuts(Set<HistoricoIettH> historicoIettHmanuts) {
907 this.historicoIettHmanuts = historicoIettHmanuts;
908 }
909
910 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
911 public Set<HistoricoIettaH> getHistoricoIettaHs() {
912 return this.historicoIettaHs;
913 }
914
915 public void setHistoricoIettaHs(Set<HistoricoIettaH> historicoIettaHs) {
916 this.historicoIettaHs = historicoIettaHs;
917 }
918
919 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
920 public Set<HistoricoIettaH> getHistoricoIettaHusus() {
921 return this.historicoIettaHusus;
922 }
923
924 public void setHistoricoIettaHusus(Set<HistoricoIettaH> historicoIettaHusus) {
925 this.historicoIettaHusus = historicoIettaHusus;
926 }
927
928 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
929 public Set<HistoricoIettbH> getHistoricoIettbHs() {
930 return this.historicoIettbHs;
931 }
932
933 public void setHistoricoIettbHs(Set<HistoricoIettbH> historicoIettbHs) {
934 this.historicoIettbHs = historicoIettbHs;
935 }
936
937 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
938 public Set<HistoricoIettcH> getHistoricoIettcHs() {
939 return this.historicoIettcHs;
940 }
941
942 public void setHistoricoIettcHs(Set<HistoricoIettcH> historicoIettcHs) {
943 this.historicoIettcHs = historicoIettcHs;
944 }
945
946 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
947 public Set<HistoricoIetteH> getHistoricoIetteHs() {
948 return this.historicoIetteHs;
949 }
950
951 public void setHistoricoIetteHs(Set<HistoricoIetteH> historicoIetteHs) {
952 this.historicoIetteHs = historicoIetteHs;
953 }
954
955 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
956 public Set<HistoricoIettfH> getHistoricoIettfHs() {
957 return this.historicoIettfHs;
958 }
959
960 public void setHistoricoIettfHs(Set<HistoricoIettfH> historicoIettfHs) {
961 this.historicoIettfHs = historicoIettfHs;
962 }
963
964 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
965 public Set<HistoricoIettlH> getHistoricoIettlHs() {
966 return this.historicoIettlHs;
967 }
968
969 public void setHistoricoIettlHs(Set<HistoricoIettlH> historicoIettlHs) {
970 this.historicoIettlHs = historicoIettlHs;
971 }
972
973 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuManutencao")
974 public Set<HistoricoIettrH> getHistoricoIettrHs() {
975 return this.historicoIettrHs;
976 }
977
978 public void setHistoricoIettrHs(Set<HistoricoIettrH> historicoIettrHs) {
979 this.historicoIettrHs = historicoIettrHs;
980 }
981
982 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
983 public Set<HistoricoIettupH> getHistoricoIettupHs() {
984 return this.historicoIettupHs;
985 }
986
987 public void setHistoricoIettupHs(Set<HistoricoIettupH> historicoIettupHs) {
988 this.historicoIettupHs = historicoIettupHs;
989 }
990
991 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
992 public Set<HistoricoIettupH> getHistoricoIettupHusus() {
993 return this.historicoIettupHusus;
994 }
995
996 public void setHistoricoIettupHusus(Set<HistoricoIettupH> historicoIettupHusus) {
997 this.historicoIettupHusus = historicoIettupHusus;
998 }
999
1000 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
1001 public Set<HistoricoIettusH> getHistoricoIettusHs() {
1002 return this.historicoIettusHs;
1003 }
1004
1005 public void setHistoricoIettusHs(Set<HistoricoIettusH> historicoIettusHs) {
1006 this.historicoIettusHs = historicoIettusHs;
1007 }
1008
1009 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1010 public Set<HistoricoIettutfaH> getHistoricoIettutfaHmanuts() {
1011 return this.historicoIettutfaHmanuts;
1012 }
1013
1014 public void setHistoricoIettutfaHmanuts(Set<HistoricoIettutfaH> historicoIettutfaHmanuts) {
1015 this.historicoIettutfaHmanuts = historicoIettutfaHmanuts;
1016 }
1017
1018 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
1019 public Set<HistoricoIettutfaH> getHistoricoIettutfaHs() {
1020 return this.historicoIettutfaHs;
1021 }
1022
1023 public void setHistoricoIettutfaHs(Set<HistoricoIettutfaH> historicoIettutfaHs) {
1024 this.historicoIettutfaHs = historicoIettutfaHs;
1025 }
1026
1027 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1028 public Set<HistoricoEfiecH> getHistoricoEfiecHs() {
1029 return this.historicoEfiecHs;
1030 }
1031
1032 public void setHistoricoEfiecHs(Set<HistoricoEfiecH> historicoEfiecHs) {
1033 this.historicoEfiecHs = historicoEfiecHs;
1034 }
1035
1036 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1037 public Set<HistoricoEfieftH> getHistoricoEfieftHs() {
1038 return this.historicoEfieftHs;
1039 }
1040
1041 public void setHistoricoEfieftHs(Set<HistoricoEfieftH> historicoEfieftHs) {
1042 this.historicoEfieftHs = historicoEfieftHs;
1043 }
1044
1045 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1046 public Set<HistoricoEfiepH> getHistoricoEfiepHs() {
1047 return this.historicoEfiepHs;
1048 }
1049
1050 public void setHistoricoEfiepHs(Set<HistoricoEfiepH> historicoEfiepHs) {
1051 this.historicoEfiepHs = historicoEfiepHs;
1052 }
1053
1054 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1055 public Set<HistoricoEfierH> getHistoricoEfierHs() {
1056 return this.historicoEfierHs;
1057 }
1058
1059 public void setHistoricoEfierHs(Set<HistoricoEfierH> historicoEfierHs) {
1060 this.historicoEfierHs = historicoEfierHs;
1061 }
1062
1063 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
1064 public Set<HistoricoEfierH> getHistoricoEfierHusus() {
1065 return this.historicoEfierHusus;
1066 }
1067
1068 public void setHistoricoEfierHusus(Set<HistoricoEfierH> historicoEfierHusus) {
1069 this.historicoEfierHusus = historicoEfierHusus;
1070 }
1071
1072 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1073 public Set<HistoricoIettSatbH> getHistoricoIettSatbHs() {
1074 return this.historicoIettSatbHs;
1075 }
1076
1077 public void setHistoricoIettSatbHs(Set<HistoricoIettSatbH> historicoIettSatbHs) {
1078 this.historicoIettSatbHs = historicoIettSatbHs;
1079 }
1080
1081 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1082 public Set<ItemEstrutUsuarioIettus> getItemEstrutUsuarioIettusManuts() {
1083 return this.itemEstrutUsuarioIettusManuts;
1084 }
1085
1086 public void setItemEstrutUsuarioIettusManuts(Set<ItemEstrutUsuarioIettus> itemEstrutUsuarioIettusManuts) {
1087 this.itemEstrutUsuarioIettusManuts = itemEstrutUsuarioIettusManuts;
1088 }
1089
1090 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuManutencao")
1091 public Set<ItemEstrutCriterioIettc> getItemEstrutCriterioIettcs() {
1092 return this.itemEstrutCriterioIettcs;
1093 }
1094
1095 public void setItemEstrutCriterioIettcs(Set<ItemEstrutCriterioIettc> itemEstrutCriterioIettcs) {
1096 this.itemEstrutCriterioIettcs = itemEstrutCriterioIettcs;
1097 }
1098
1099 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuManutencao")
1100 public Set<ItemEstrutEntidadeIette> getItemEstrutEntidadeIette() {
1101 return this.itemEstrutEntidadeIette;
1102 }
1103
1104 public void setItemEstrutEntidadeIette(Set<ItemEstrutEntidadeIette> itemEstrutEntidadeIette) {
1105 this.itemEstrutEntidadeIette = itemEstrutEntidadeIette;
1106 }
1107
1108 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuManutencao")
1109 public Set<ItemEstrtBenefIettb> getItemEstrtBenefIettb() {
1110 return this.itemEstrtBenefIettb;
1111 }
1112
1113 public void setItemEstrtBenefIettb(Set<ItemEstrtBenefIettb> itemEstrtBenefIettb) {
1114 this.itemEstrtBenefIettb = itemEstrtBenefIettb;
1115 }
1116
1117 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuManutencao")
1118 public Set<ItemEstrutLocalIettl> getItemEstrutLocalIettl() {
1119 return this.itemEstrutLocalIettl;
1120 }
1121
1122 public void setItemEstrutLocalIettl(Set<ItemEstrutLocalIettl> itemEstrutLocalIettl) {
1123 this.itemEstrutLocalIettl = itemEstrutLocalIettl;
1124 }
1125
1126 @OneToMany(fetch = FetchType.LAZY, mappedBy = "usuarioUsuManutencao")
1127 public Set<ItemEstrtIndResulIettr> getItemEstrtIndResulIettr() {
1128 return this.itemEstrtIndResulIettr;
1129 }
1130
1131 public void setItemEstrtIndResulIettr(Set<ItemEstrtIndResulIettr> itemEstrtIndResulIettr) {
1132 this.itemEstrtIndResulIettr = itemEstrtIndResulIettr;
1133 }
1134
1135 @OneToMany(cascade = javax.persistence.CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "usuarioUsu")
1136 public Set<Email> getEmailsRecebidos() {
1137 return this.emailsRecebidos;
1138 }
1139
1140 public void setEmailsRecebidos(Set<Email> emailsRecebidos) {
1141 this.emailsRecebidos = emailsRecebidos;
1142 }
1143
1144 @Transient
1145 public String getEmail1UsuSent() {
1146 if (this.getIdDominioUsu() != null && !"".equals(this.getIdDominioUsu().trim())) {
1147 UsuarioDao usuarioDao = new UsuarioDao(null);
1148
1149
1150 String email = usuarioDao.getEmailUsuarioSentinela(Long.parseLong(this.getIdDominioUsu()));
1151 this.setEmail1Usu(email);
1152 }
1153
1154 return this.email1Usu;
1155 }
1156
1157 @Transient
1158 public String getNomeUsuSent() {
1159 if (this.getIdDominioUsu() != null && !"".equals(this.getIdDominioUsu().trim())) {
1160 UsuarioDao usuarioDao = new UsuarioDao(null);
1161
1162
1163 String nome = usuarioDao.getNomeUsuarioSentinela(Long.parseLong(this.getIdDominioUsu()));
1164
1165 this.setNomeUsu(nome);
1166 }
1167
1168 return this.nomeUsu;
1169 }
1170
1171 @Transient
1172 public String getCnpjCpfUsu() {
1173 if (this.getIdDominioUsu() != null && !"".equals(this.getIdDominioUsu().trim())) {
1174 UsuarioDao usuarioDao = new UsuarioDao(null);
1175
1176
1177 String cpf = usuarioDao.getCpfUsuarioSentinela(Long.parseLong(this.getIdDominioUsu()));
1178 this.setCnpjCpfUsu(cpf);
1179 }
1180
1181 return this.cnpjCpfUsu;
1182 }
1183
1184 public void setCnpjCpfUsu(String cnpjCpfUsu) {
1185 this.cnpjCpfUsu = cnpjCpfUsu;
1186 }
1187
1188 }