Rev 623 | Rev 631 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 623 | Rev 624 | ||
|---|---|---|---|
| Line 124... | Line 124... | ||
| 124 | public Boolean getAtivo() { |
124 | public Boolean getAtivo() { |
| 125 | return ativo; |
125 | return ativo; |
| 126 | }
|
126 | }
|
| 127 | public void setAtivo(Boolean ativo) { |
127 | public void setAtivo(Boolean ativo) { |
| 128 | this.ativo = ativo; |
128 | this.ativo = ativo; |
| - | 129 | }
|
|
| - | 130 | ||
| - | 131 | public String getObterPrimeiroNome() { |
|
| - | 132 | if (nome == null || nome.trim().isEmpty()) { |
|
| - | 133 | return ""; |
|
| - | 134 | }
|
|
| - | 135 | return nome.trim().split(" ")[0]; |
|
| 129 | }
|
136 | }
|
| 130 | 137 | ||
| 131 | }
|
138 | }
|