Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | package br.gov.al.saude.scs.model.dto; |
| 2 | |||
| 3 | import java.io.Serializable; |
||
| 4 | import java.util.Date; |
||
| 5 | import java.util.List; |
||
| 6 | |||
| 7 | import br.gov.al.saude.framework.core.util.VerificadorUtil; |
||
| 8 | |||
| 9 | public class ProcessoIntegraDTO implements Serializable { |
||
| 10 | |||
| 11 | private static final long serialVersionUID = 1L; |
||
| 12 | |||
| 13 | private Integer codigoOgrao; |
||
| 14 | private String descricaoOgrao; |
||
| 15 | private String siglaOrgao; |
||
| 16 | private Integer numeroProcesso; |
||
| 17 | private String anoProcesso; |
||
| 18 | private Date dataEntrada; |
||
| 19 | private String assunto; |
||
| 20 | private String tipo; |
||
| 21 | private String detalhamento; |
||
| 22 | private String numeroDocumento; |
||
| 23 | private Date dataDocumento; |
||
| 24 | private String situacao; |
||
| 25 | private List<InteressadoIntegraDTO> interessados; |
||
| 26 | |||
| 27 | public Integer getCodigoOgrao() { |
||
| 28 | return codigoOgrao; |
||
| 29 | } |
||
| 30 | |||
| 31 | public void setCodigoOgrao(Integer codigoOgrao) { |
||
| 32 | this.codigoOgrao = codigoOgrao; |
||
| 33 | } |
||
| 34 | |||
| 35 | public Integer getNumeroProcesso() { |
||
| 36 | return numeroProcesso; |
||
| 37 | } |
||
| 38 | |||
| 39 | public void setNumeroProcesso(Integer numeroProcesso) { |
||
| 40 | this.numeroProcesso = numeroProcesso; |
||
| 41 | } |
||
| 42 | |||
| 43 | public String getAnoProcesso() { |
||
| 44 | return anoProcesso; |
||
| 45 | } |
||
| 46 | |||
| 47 | public void setAnoProcesso(String anoProcesso) { |
||
| 48 | this.anoProcesso = anoProcesso; |
||
| 49 | } |
||
| 50 | |||
| 51 | public Date getDataEntrada() { |
||
| 52 | return dataEntrada; |
||
| 53 | } |
||
| 54 | |||
| 55 | public void setDataEntrada(Date dataEntrada) { |
||
| 56 | this.dataEntrada = dataEntrada; |
||
| 57 | } |
||
| 58 | |||
| 59 | public String getAssunto() { |
||
| 60 | return assunto; |
||
| 61 | } |
||
| 62 | |||
| 63 | public void setAssunto(String assunto) { |
||
| 64 | this.assunto = assunto; |
||
| 65 | } |
||
| 66 | |||
| 67 | public String getTipo() { |
||
| 68 | return tipo; |
||
| 69 | } |
||
| 70 | |||
| 71 | public void setTipo(String tipo) { |
||
| 72 | this.tipo = tipo; |
||
| 73 | } |
||
| 74 | |||
| 75 | public String getDetalhamento() { |
||
| 76 | return detalhamento; |
||
| 77 | } |
||
| 78 | |||
| 79 | public void setDetalhamento(String detalhamento) { |
||
| 80 | this.detalhamento = detalhamento; |
||
| 81 | } |
||
| 82 | |||
| 83 | public String getNumeroDocumento() { |
||
| 84 | return numeroDocumento; |
||
| 85 | } |
||
| 86 | |||
| 87 | public void setNumeroDocumento(String numeroDocumento) { |
||
| 88 | this.numeroDocumento = numeroDocumento; |
||
| 89 | } |
||
| 90 | |||
| 91 | public Date getDataDocumento() { |
||
| 92 | return dataDocumento; |
||
| 93 | } |
||
| 94 | |||
| 95 | public void setDataDocumento(Date dataDocumento) { |
||
| 96 | this.dataDocumento = dataDocumento; |
||
| 97 | } |
||
| 98 | |||
| 99 | public String getSituacao() { |
||
| 100 | return situacao; |
||
| 101 | } |
||
| 102 | |||
| 103 | public void setSituacao(String situacao) { |
||
| 104 | this.situacao = situacao; |
||
| 105 | } |
||
| 106 | |||
| 107 | public String getDescricaoOgrao() { |
||
| 108 | return descricaoOgrao; |
||
| 109 | } |
||
| 110 | |||
| 111 | public void setDescricaoOgrao(String descricaoOgrao) { |
||
| 112 | this.descricaoOgrao = descricaoOgrao; |
||
| 113 | } |
||
| 114 | |||
| 115 | public String getNumeroProcessoComCodigoOrgaoIhAno() { |
||
| 116 | if(VerificadorUtil.naoEstaNuloOuVazio(numeroProcesso)) { |
||
| 117 | return siglaOrgao + "-" + String.format("%06d", numeroProcesso) + "/" + anoProcesso; |
||
| 118 | } |
||
| 119 | return null; |
||
| 120 | } |
||
| 121 | |||
| 122 | public List<InteressadoIntegraDTO> getInteressados() { |
||
| 123 | return interessados; |
||
| 124 | } |
||
| 125 | |||
| 126 | public void setInteressados(List<InteressadoIntegraDTO> interessados) { |
||
| 127 | this.interessados = interessados; |
||
| 128 | } |
||
| 129 | |||
| 130 | public String getSiglaOrgao() { |
||
| 131 | return siglaOrgao; |
||
| 132 | } |
||
| 133 | |||
| 134 | public void setSiglaOrgao(String siglaOrgao) { |
||
| 135 | this.siglaOrgao = siglaOrgao; |
||
| 136 | } |
||
| 137 | |||
| 138 | } |