forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
737 B
29 lines
737 B
package siprp.database.cayenne.objects;
|
|
|
|
import siprp.database.cayenne.objects.auto._TrabalhadoresEcd;
|
|
|
|
public class TrabalhadoresEcd extends _TrabalhadoresEcd {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Override
|
|
public String toString()
|
|
{
|
|
PrtTiposElementosProtocolo exame = getToPrtTiposElementosProtocolo();
|
|
String exameNome = exame == null ? null : exame.getDescricao();
|
|
EcdOficial exameOficial = getToEcdOficial();
|
|
String exameOficialNome = exameOficial == null ? null : exameOficial.getDescricao();
|
|
String result = "";
|
|
if(exameNome == null && exameOficialNome != null)
|
|
{
|
|
result = exameOficialNome + " [oficial]";
|
|
}else if( exameNome != null )
|
|
{
|
|
result = exameNome;
|
|
}
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
|