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.
37 lines
779 B
37 lines
779 B
/*
|
|
* TrabalhadoresEcdData.java
|
|
*
|
|
* Generated by com.evutils.codegen.EntityObjectGenerator
|
|
*
|
|
* Edit at will
|
|
*/
|
|
package siprp.data.outer;
|
|
|
|
|
|
public final class TrabalhadoresEcdData extends siprp.data.inner.TrabalhadoresEcd
|
|
{
|
|
|
|
public TrabalhadoresEcdData()
|
|
{
|
|
super();
|
|
}
|
|
|
|
@Override
|
|
public String toString()
|
|
{
|
|
PrtTiposElementosProtocoloData exame = toEcd_id();
|
|
String exameNome = exame == null ? null : exame.getDescricao();
|
|
EcdOficialData exameOficial = toEcd_oficial_id();
|
|
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;
|
|
}
|
|
}
|