Rev 195 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 195 | Rev 596 | ||
|---|---|---|---|
| Line 128... | Line 128... | ||
| 128 | }
|
128 | }
|
| 129 | 129 | ||
| 130 | @Transient |
130 | @Transient |
| 131 | public EmpresaAdquirente getEmpresaAdquirenteDaMaquinetaDaVenda() { |
131 | public EmpresaAdquirente getEmpresaAdquirenteDaMaquinetaDaVenda() { |
| 132 | return VerificadorUtil.naoEstaNulo(getVenda().getMaquineta()) ? getVenda().getMaquineta().getEmpresaAdquirente() : null; |
132 | return VerificadorUtil.naoEstaNulo(getVenda().getMaquineta()) ? getVenda().getMaquineta().getEmpresaAdquirente() : null; |
| - | 133 | }
|
|
| - | 134 | ||
| - | 135 | @Transient |
|
| - | 136 | public ContaBancaria getContaBancariaDaEmpresaAdquirenteDaMaquinetaDaVenda() { |
|
| - | 137 | return VerificadorUtil.naoEstaNulo(getVenda().getMaquineta()) ? |
|
| - | 138 | VerificadorUtil.naoEstaNulo(getVenda().getMaquineta().getEmpresaAdquirente()) ? |
|
| - | 139 | getVenda().getMaquineta().getEmpresaAdquirente().getContaBancaria() : null : null; |
|
| 133 | }
|
140 | }
|
| 134 | 141 | ||
| 135 | @Override |
142 | @Override |
| 136 | public int hashCode() { |
143 | public int hashCode() { |
| 137 | final int prime = 31; |
144 | final int prime = 31; |