forked from Coded/SIPRP
git-svn-id: https://svn.coded.pt/svn/SIPRP@764 bb69d46d-e84e-40c8-a05a-06db0d633741
parent
5e9e0a5761
commit
40d5363455
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Avisos;
|
||||
|
||||
public class Avisos extends _Avisos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,72 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import static com.evolute.utils.strings.UnicodeLatin1Map.atilde;
|
||||
import static com.evolute.utils.strings.UnicodeLatin1Map.ccedil;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.util.HashMap;
|
||||
import java.util.Locale;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
import org.apache.cayenne.PersistenceState;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
import siprp.database.cayenne.providers.MedicinaDAO;
|
||||
import siprp.medicina.MedicinaConstants;
|
||||
|
||||
public class BaseObject extends CayenneDataObject
|
||||
{
|
||||
|
||||
static {
|
||||
UnicodeChecker.setUseDoubleSlash( true );
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
protected static MedicinaDAO medicinaProvider = new MedicinaDAO();
|
||||
|
||||
protected static final DateFormat sdf = DateFormat.getDateInstance( DateFormat.SHORT, new Locale( "pt", "PT" ) );
|
||||
|
||||
protected static final String isNewMessage = " ";
|
||||
|
||||
public boolean isNew()
|
||||
{
|
||||
return getPersistenceState() == PersistenceState.NEW;
|
||||
}
|
||||
|
||||
public boolean isCommited()
|
||||
{
|
||||
return getPersistenceState() == PersistenceState.COMMITTED;
|
||||
}
|
||||
|
||||
public boolean isModified()
|
||||
{
|
||||
return getPersistenceState() == PersistenceState.MODIFIED;
|
||||
}
|
||||
|
||||
public HashMap<Integer, String> getConsultaEstados()
|
||||
{
|
||||
HashMap<Integer, String> result = new HashMap<Integer, String>();
|
||||
for( int i = 0; i < MedicinaConstants.ESTADOS_CONSULTA_STR.length; ++i )
|
||||
{
|
||||
if( MedicinaConstants.ESTADOS_CONSULTA_STR[i] != null)
|
||||
{
|
||||
result.put( new Integer( i ), MedicinaConstants.ESTADOS_CONSULTA_STR[i] );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
protected String parseToUnicode( String string )
|
||||
{
|
||||
String result = UnicodeChecker.parseToUnicode( string );
|
||||
return result.replaceAll( "\\\\\\\\", "\\\\" );
|
||||
}
|
||||
|
||||
protected String parseFromUnicode( String string )
|
||||
{
|
||||
return UnicodeChecker.parseFromUnicode( string );
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Contactos;
|
||||
|
||||
public class Contactos extends _Contactos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._EcdOficial;
|
||||
|
||||
public class EcdOficial extends _EcdOficial {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._EmailPlanoDeActuacao;
|
||||
|
||||
public class EmailPlanoDeActuacao extends _EmailPlanoDeActuacao {
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDescription() == null ? "" : getDescription();
|
||||
}
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Empresas;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
public class Empresas extends _Empresas {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name = null;
|
||||
|
||||
private String convertedName = null;
|
||||
|
||||
@Override
|
||||
public String getDesignacaoSocial()
|
||||
{
|
||||
String currentName = super.getDesignacaoSocial();
|
||||
if( name == null || !name.equals( currentName ))
|
||||
{
|
||||
name = currentName;
|
||||
convertedName = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDesignacaoSocial( String nome )
|
||||
{
|
||||
super.setDesignacaoSocial( parseToUnicode( name ) );
|
||||
getDesignacaoSocial();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( name == null )
|
||||
{
|
||||
convertedName = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedName = parseFromUnicode( name );
|
||||
}
|
||||
return convertedName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDesignacaoSocial();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Estabelecimentos> getEstabelecimentosArray()
|
||||
{
|
||||
List<Estabelecimentos> result = super.getEstabelecimentosArray();
|
||||
for(int i = 0; i < result.size(); ++i)
|
||||
{
|
||||
Estabelecimentos current = result.get(i);
|
||||
if( current == null || "y".equals(current.getInactivo()))
|
||||
{
|
||||
result.remove( i );
|
||||
--i;
|
||||
}
|
||||
}
|
||||
Collections.sort(result);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Errors;
|
||||
|
||||
public class Errors extends _Errors {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,87 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Estabelecimentos;
|
||||
|
||||
public class Estabelecimentos extends _Estabelecimentos implements Comparable<Estabelecimentos>
|
||||
{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name = null;
|
||||
|
||||
private String convertedName = null;
|
||||
|
||||
@Override
|
||||
public String getNome()
|
||||
{
|
||||
String currentName = super.getNome();
|
||||
if( name == null || !name.equals( currentName ) )
|
||||
{
|
||||
name = currentName;
|
||||
convertedName = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setNome( String nome )
|
||||
{
|
||||
super.setNome( parseToUnicode( name ) );
|
||||
getNome();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( name == null )
|
||||
{
|
||||
convertedName = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedName = parseFromUnicode( name );
|
||||
}
|
||||
return convertedName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getNome();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Trabalhadores> getTrabalhadoresArray()
|
||||
{
|
||||
List<Trabalhadores> result = super.getTrabalhadoresArray();
|
||||
for(int i = 0; i < result.size(); ++i)
|
||||
{
|
||||
Trabalhadores current = result.get(i);
|
||||
if( current == null || "y".equals(current.getInactivo()))
|
||||
{
|
||||
result.remove( i );
|
||||
--i;
|
||||
}
|
||||
}
|
||||
Collections.sort( result );
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo( Estabelecimentos estabelecimento )
|
||||
{
|
||||
if( estabelecimento == null)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
if( this.getNomePlain() == null )
|
||||
{
|
||||
return (estabelecimento.getNomePlain() != null) ? -1 : 0;
|
||||
}
|
||||
return (-1) * estabelecimento.getNomePlain().compareTo( getNomePlain() );
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Etiquetas;
|
||||
|
||||
public class Etiquetas extends _Etiquetas {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Exames;
|
||||
|
||||
public class Exames extends _Exames {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._ExamesPerfis;
|
||||
|
||||
public class ExamesPerfis extends _ExamesPerfis {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._ExamesPortaria;
|
||||
|
||||
public class ExamesPortaria extends _ExamesPortaria {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._HistoricoEstabelecimento;
|
||||
|
||||
public class HistoricoEstabelecimento extends _HistoricoEstabelecimento {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Ids;
|
||||
|
||||
public class Ids extends _Ids {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Image;
|
||||
|
||||
public class Image extends _Image {
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getName() == null ? "" : getName();
|
||||
}
|
||||
}
|
||||
@ -1,62 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Legislacao;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
public class Legislacao extends _Legislacao {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String description = null;
|
||||
|
||||
private String convertedDescription = null;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
String result = getDescription() == null ? "" : getDescription();
|
||||
if( result.contains( "\n" ) )
|
||||
{
|
||||
result = result.substring( 0, result.indexOf( "\n" ) ) + "...";
|
||||
}
|
||||
else if( result.contains( "\n\r" ) )
|
||||
{
|
||||
result = result.substring( 0, result.indexOf( "\n\r" ) ) + "...";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
String currentName = super.getDescription();
|
||||
if( description == null || !description.equals( currentName ))
|
||||
{
|
||||
description = currentName;
|
||||
convertedDescription = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDescription( String nome )
|
||||
{
|
||||
super.setDescription( nome != null ? UnicodeChecker.parseToUnicode( nome ).replaceAll( "\\\\\\\\", "\\\\" ) : null );
|
||||
getDescription();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( description == null )
|
||||
{
|
||||
convertedDescription = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedDescription = UnicodeChecker.parseFromUnicode( description );
|
||||
}
|
||||
return convertedDescription;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._LegislacaoEstabelecimento;
|
||||
|
||||
public class LegislacaoEstabelecimento extends _LegislacaoEstabelecimento {
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getToLegislacao().getDescription() == null ? "" : getToLegislacao().getDescription();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Lembretes;
|
||||
|
||||
public class Lembretes extends _Lembretes {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._LembretesTipos;
|
||||
|
||||
public class LembretesTipos extends _LembretesTipos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesEmpresa;
|
||||
|
||||
public class MarcacoesEmpresa extends _MarcacoesEmpresa {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesEstabelecimento;
|
||||
|
||||
public class MarcacoesEstabelecimento extends _MarcacoesEstabelecimento {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesGruposRealizados;
|
||||
|
||||
public class MarcacoesGruposRealizados extends _MarcacoesGruposRealizados {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesTecnicosHst;
|
||||
|
||||
public class MarcacoesTecnicosHst extends _MarcacoesTecnicosHst {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesTrabalhador;
|
||||
|
||||
public class MarcacoesTrabalhador extends _MarcacoesTrabalhador {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesTrabalhadorEstados;
|
||||
|
||||
public class MarcacoesTrabalhadorEstados extends _MarcacoesTrabalhadorEstados {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Medicos;
|
||||
|
||||
public class Medicos extends _Medicos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,53 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Medida;
|
||||
|
||||
public class Medida extends _Medida {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String description = null;
|
||||
|
||||
private String convertedDescription = null;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDescription() == null ? "" : getDescription();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
String currentName = super.getDescription();
|
||||
if( description == null || !description.equals( currentName ))
|
||||
{
|
||||
description = currentName;
|
||||
convertedDescription = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDescription( String nome )
|
||||
{
|
||||
super.setDescription( nome != null ? UnicodeChecker.parseToUnicode( nome ).replaceAll( "\\\\\\\\", "\\\\" ) : null );
|
||||
getDescription();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( description == null )
|
||||
{
|
||||
convertedDescription = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedDescription = UnicodeChecker.parseFromUnicode( description );
|
||||
}
|
||||
return convertedDescription;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,53 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PostoDeTrabalho;
|
||||
|
||||
public class PostoDeTrabalho extends _PostoDeTrabalho {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String description = null;
|
||||
|
||||
private String convertedDescription = null;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDescription() == null ? "" : getDescription();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription()
|
||||
{
|
||||
String currentName = super.getDescription();
|
||||
if( description == null || !description.equals( currentName ))
|
||||
{
|
||||
description = currentName;
|
||||
convertedDescription = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDescription( String nome )
|
||||
{
|
||||
super.setDescription( nome != null ? UnicodeChecker.parseToUnicode( nome ).replaceAll( "\\\\\\\\", "\\\\" ) : null );
|
||||
getDescription();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( description == null )
|
||||
{
|
||||
convertedDescription = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedDescription = UnicodeChecker.parseFromUnicode( description );
|
||||
}
|
||||
return convertedDescription;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PostoDeTrabalhoEstabelecimento;
|
||||
|
||||
public class PostoDeTrabalhoEstabelecimento extends _PostoDeTrabalhoEstabelecimento {
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getToPostoDeTrabalho().getDescription() == null ? "" : getToPostoDeTrabalho().getDescription();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,75 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Prestadores;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
public class Prestadores extends _Prestadores {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name = null;
|
||||
|
||||
private String convertedName = null;
|
||||
|
||||
public static final Prestadores prestadorNulo = new Prestadores();
|
||||
|
||||
static {
|
||||
prestadorNulo.setNome( "SIPRP" );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getNome()
|
||||
{
|
||||
String currentName = super.getNome();
|
||||
if( name == null || !name.equals( currentName ))
|
||||
{
|
||||
name = currentName;
|
||||
convertedName = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setNome( String nome )
|
||||
{
|
||||
super.setNome( parseToUnicode( nome ) );
|
||||
getNome();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( name == null )
|
||||
{
|
||||
convertedName = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedName = parseFromUnicode( name );
|
||||
}
|
||||
return convertedName;
|
||||
}
|
||||
|
||||
// public static Prestadores getDefaultPrestador()
|
||||
// {
|
||||
// return medicinaProvider.getDefaultPrestador();
|
||||
// }
|
||||
|
||||
public static List<Prestadores> getAllPrestadores()
|
||||
{
|
||||
List<Prestadores> result = medicinaProvider.getAllPrestadores();
|
||||
result.add( 0, prestadorNulo);
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getNome();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrestadoresGruposProtocolo;
|
||||
|
||||
public class PrestadoresGruposProtocolo extends _PrestadoresGruposProtocolo {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrtElementosProtocolo;
|
||||
|
||||
public class PrtElementosProtocolo extends _PrtElementosProtocolo {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,55 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrtGruposProtocolo;
|
||||
|
||||
public class PrtGruposProtocolo extends _PrtGruposProtocolo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name = null;
|
||||
|
||||
private String convertedName = null;
|
||||
|
||||
@Override
|
||||
public String getDescricao()
|
||||
{
|
||||
String currentName = super.getDescricao();
|
||||
if( name == null || !name.equals( currentName ))
|
||||
{
|
||||
name = currentName;
|
||||
convertedName = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setDescricao( String nome )
|
||||
{
|
||||
super.setDescricao( parseToUnicode( name ) );
|
||||
getDescricao();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( name == null )
|
||||
{
|
||||
convertedName = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedName = parseFromUnicode( name );
|
||||
}
|
||||
return convertedName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDescricao() == null ? "" : getDescricao();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,17 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrtTiposElementosProtocolo;
|
||||
|
||||
public class PrtTiposElementosProtocolo extends _PrtTiposElementosProtocolo {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDescricao();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Risco;
|
||||
|
||||
public class Risco extends _Risco {
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDescription() == null ? "" : getDescription();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,12 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._RiscoMedida;
|
||||
|
||||
public class RiscoMedida extends _RiscoMedida {
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getToMedida().toString();
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TiposExamesComp;
|
||||
|
||||
public class TiposExamesComp extends _TiposExamesComp {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,99 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Trabalhadores;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
public class Trabalhadores extends _Trabalhadores implements Comparable<Trabalhadores>
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name = null;
|
||||
|
||||
private String convertedName = null;
|
||||
|
||||
public String getDataNascimentoString()
|
||||
{
|
||||
return getDataNascimento() == null ? "" : sdf.format( getDataNascimento() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<TrabalhadoresProcesso> getTrabalhadoresProcessoArray()
|
||||
{
|
||||
List<TrabalhadoresProcesso> allProcessos = super.getTrabalhadoresProcessoArray();
|
||||
List<TrabalhadoresProcesso> result = new ArrayList<TrabalhadoresProcesso>();
|
||||
for( TrabalhadoresProcesso current : allProcessos )
|
||||
{
|
||||
if("y".equals( current.getActivo() ))
|
||||
{
|
||||
result.add( current );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getNome()
|
||||
{
|
||||
String currentName = super.getNome();
|
||||
if( name == null || !name.equals( currentName ))
|
||||
{
|
||||
name = currentName;
|
||||
convertedName = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setNome( String nome )
|
||||
{
|
||||
super.setNome( parseToUnicode( name ) );
|
||||
getNome();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( name == null )
|
||||
{
|
||||
convertedName = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedName = parseFromUnicode( name );
|
||||
}
|
||||
return convertedName;
|
||||
}
|
||||
|
||||
public HashMap<String, String> getSexos()
|
||||
{
|
||||
HashMap<String, String> result = new HashMap<String, String>();
|
||||
result.put("f", "Feminino");
|
||||
result.put( "m", "Masculino" );
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getNome();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo( Trabalhadores trabalhador )
|
||||
{
|
||||
if( trabalhador == null)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
if( this.getNomePlain() == null )
|
||||
{
|
||||
return (trabalhador.getNomePlain() != null) ? -1 : 0;
|
||||
}
|
||||
return (-1) * trabalhador.getNomePlain().compareTo( getNomePlain() );
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresConsultas;
|
||||
import siprp.medicina.MedicinaConstants;
|
||||
|
||||
public class TrabalhadoresConsultas extends _TrabalhadoresConsultas implements MedicinaConstants
|
||||
{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getEstadoString()
|
||||
{
|
||||
return isNew() ? isNewMessage : ((getEstado() == null || ESTADOS_CONSULTA_STR.length <= getEstado()) ? "" : ESTADOS_CONSULTA_STR[getEstado().intValue()]);
|
||||
}
|
||||
|
||||
public String getDataString()
|
||||
{
|
||||
return getData() == null ? "(sem data definida)" : sdf.format( getData() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return "Consulta de " + getDataString() + ": " + getEstadoString();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,48 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresConsultasDatas;
|
||||
import siprp.medicina.MedicinaConstants;
|
||||
|
||||
public class TrabalhadoresConsultasDatas extends _TrabalhadoresConsultasDatas implements MedicinaConstants
|
||||
{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getDataString()
|
||||
{
|
||||
return getData() == null ? "" : sdf.format( getData() );
|
||||
}
|
||||
|
||||
public String getEstadoString()
|
||||
{
|
||||
return getEstado() == null || getEstado() >= ESTADOS_CONSULTA_STR.length ? "" : ESTADOS_CONSULTA_STR[ getEstado() ];
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDataString() + ": " + getEstadoString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setData( Date date )
|
||||
{
|
||||
if( date != null && this.getToTrabalhadoresConsultas() != null && this.getEstado() != null && new Integer(ESTADO_POR_REALIZAR).equals(this.getEstado()))
|
||||
{
|
||||
this.getToTrabalhadoresConsultas().setData( date );
|
||||
}
|
||||
super.setData( date );
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setEstado( Integer estado )
|
||||
{
|
||||
if( estado != null && this.getToTrabalhadoresConsultas() != null && (new Integer(ESTADO_POR_REALIZAR).equals( this.getEstado() ) || new Integer(ESTADO_POR_REALIZAR).equals( estado )))
|
||||
{
|
||||
this.getToTrabalhadoresConsultas().setEstado( !(estado.equals( ESTADO_POR_REALIZAR ) || estado.equals( ESTADO_REALIZADO )) ? ESTADO_POR_MARCAR : estado );
|
||||
}
|
||||
super.setEstado( estado );
|
||||
}
|
||||
}
|
||||
@ -1,21 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresConsultasDatasEmails;
|
||||
|
||||
public class TrabalhadoresConsultasDatasEmails extends _TrabalhadoresConsultasDatasEmails {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getDataString()
|
||||
{
|
||||
return getData() == null ? "" : sdf.format( getData() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getSubject();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,56 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresConsultasDatasObservacoes;
|
||||
|
||||
public class TrabalhadoresConsultasDatasObservacoes extends _TrabalhadoresConsultasDatasObservacoes {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name = null;
|
||||
|
||||
private String convertedName = null;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getObservacao();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getObservacao()
|
||||
{
|
||||
String currentName = super.getObservacao();
|
||||
if( name == null || !name.equals( currentName ))
|
||||
{
|
||||
name = currentName;
|
||||
convertedName = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setObservacao( String nome )
|
||||
{
|
||||
super.setObservacao( nome != null ? parseToUnicode( nome ) : null );
|
||||
getObservacao();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( name == null )
|
||||
{
|
||||
convertedName = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedName = parseFromUnicode( name );
|
||||
}
|
||||
return convertedName;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,29 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcd;
|
||||
import siprp.medicina.MedicinaConstants;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,172 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import leaf.data.OrderedMap;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcds;
|
||||
import siprp.medicina.MedicinaConstants;
|
||||
|
||||
public class TrabalhadoresEcds extends _TrabalhadoresEcds implements MedicinaConstants
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getDataString()
|
||||
{
|
||||
return getData() == null ? "(sem data definida)" : sdf.format( getData() );
|
||||
}
|
||||
|
||||
public String getEstadoString()
|
||||
{
|
||||
return isNew() ? isNewMessage : (getEstado() == null || getEstado() >= ESTADOS_EXAME_STR.length ? "" : ESTADOS_EXAME_STR[getEstado()]);
|
||||
}
|
||||
|
||||
public HashMap<Integer, String> getEstados()
|
||||
{
|
||||
HashMap<Integer, String> result = new HashMap<Integer, String>();
|
||||
for( int i = 0; i < ESTADOS_EXAME_STR.length; ++i )
|
||||
{
|
||||
if( ESTADOS_EXAME_STR[i] != null )
|
||||
{
|
||||
result.put( new Integer( i ), ESTADOS_EXAME_STR[i] );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDataString() + ": " + getEstadoString();
|
||||
}
|
||||
|
||||
public OrderedMap<PrtGruposProtocolo> getGruposExamesForPerfil()
|
||||
{
|
||||
OrderedMap<PrtGruposProtocolo> grupos = new OrderedMap<PrtGruposProtocolo>();
|
||||
|
||||
Trabalhadores trabalhador = this.getToTrabalhadores();
|
||||
Integer perfil = trabalhador.getPerfil();
|
||||
if( perfil != null )
|
||||
{
|
||||
Empresas empresa = trabalhador.getToEstabelecimentos().getToEmpresas();
|
||||
List<PrtElementosProtocolo> ecdsPerfil = (List<PrtElementosProtocolo>) empresa.getPrtElementosProtocoloArray();
|
||||
for( PrtElementosProtocolo ecdPerfil : ecdsPerfil )
|
||||
{
|
||||
if( perfil.equals( ecdPerfil.getNumeroPerfil() ) )
|
||||
{
|
||||
PrtTiposElementosProtocolo ecd = ecdPerfil.getToPrtTiposElementosProtocolo();
|
||||
if( ecd != null )
|
||||
{
|
||||
PrtGruposProtocolo grupoEcd = ecd.getToPrtGruposProtocolo();
|
||||
if( grupoEcd != null )
|
||||
{
|
||||
String descricao = grupoEcd.getDescricao();
|
||||
if( descricao != null && !grupos.containsKey( grupoEcd ) )
|
||||
{
|
||||
grupos.putLast( grupoEcd, descricao );
|
||||
Integer estado = getEstadoForGrupoEcd( grupoEcd );
|
||||
grupos.putLast( grupoEcd, estado != null ? MedicinaConstants.ESTADOS_EXAME_STR[estado] : " " );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
List<Integer> estados = new ArrayList<Integer>();
|
||||
List<TrabalhadoresEcdsDatas> marcacoes = getTrabalhadoresEcdsDatasArray();
|
||||
if( marcacoes != null )
|
||||
{
|
||||
for( TrabalhadoresEcdsDatas marcacao : marcacoes )
|
||||
{
|
||||
Integer estado = marcacao.getEstado();
|
||||
if( !estados.contains( estado ) )
|
||||
{
|
||||
estados.add( estado );
|
||||
}
|
||||
}
|
||||
}
|
||||
if( estados.size() == 1 )
|
||||
{
|
||||
// if( estadosSoFar.contains( new Integer( ESTADO_ANULADO ) ) || estadosSoFar.contains( new Integer( ESTADO_REALIZADO ) ) )
|
||||
// {
|
||||
setEstado( estados.get( 0 ) );
|
||||
// }
|
||||
// else if( estadosSoFar.contains( new Integer( ESTADO_POR_REALIZAR ) ) )
|
||||
// {
|
||||
// setEstado( ESTADO_POR_REALIZAR );
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// setEstado( ESTADO_POR_MARCAR );
|
||||
// }
|
||||
}
|
||||
else if( estados.size() == 2 )
|
||||
{
|
||||
if( estados.contains( new Integer( ESTADO_ANULADO ) ) && estados.contains( new Integer( ESTADO_REALIZADO ) ) )
|
||||
{
|
||||
setEstado( ESTADO_REALIZADO );
|
||||
}
|
||||
else if( estados.contains( new Integer( ESTADO_POR_MARCAR ) ) )
|
||||
{
|
||||
setEstado( ESTADO_POR_MARCAR );
|
||||
}
|
||||
else if( estados.contains( new Integer( ESTADO_ANULADO ) ) || estados.contains( new Integer( ESTADO_REALIZADO ) ) )
|
||||
{
|
||||
setEstado( ESTADO_PARCIALMENTE_REALIZADO );
|
||||
}
|
||||
else
|
||||
{
|
||||
setEstado( ESTADO_POR_REALIZAR );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if( estados.contains( new Integer( ESTADO_POR_MARCAR ) ) )
|
||||
{
|
||||
setEstado( ESTADO_POR_MARCAR );
|
||||
}
|
||||
else if( estados.contains( new Integer( ESTADO_ANULADO ) ) && estados.contains( new Integer( ESTADO_REALIZADO ) ) )
|
||||
{
|
||||
setEstado( ESTADO_PARCIALMENTE_REALIZADO );
|
||||
}
|
||||
else
|
||||
{
|
||||
setEstado( ESTADO_POR_REALIZAR );
|
||||
}
|
||||
}
|
||||
grupos.order();
|
||||
return grupos;
|
||||
}
|
||||
|
||||
private Integer getEstadoForGrupoEcd( PrtGruposProtocolo grupoEcd )
|
||||
{
|
||||
Integer estado = null;
|
||||
List<TrabalhadoresEcdsDatas> marcacoes = getTrabalhadoresEcdsDatasArray();
|
||||
if( marcacoes != null )
|
||||
{
|
||||
for( TrabalhadoresEcdsDatas marcacao : marcacoes )
|
||||
{
|
||||
List<TrabalhadoresEcd> ecds = marcacao.getTrabalhadoresEcdArray();
|
||||
for( TrabalhadoresEcd ecd : ecds )
|
||||
{
|
||||
if( ecd.getToPrtTiposElementosProtocolo().getToPrtGruposProtocolo().equals( grupoEcd ) )
|
||||
{
|
||||
if( new Integer( ESTADO_REALIZADO ).equals( ecd.getEstado() ) || new Integer( ESTADO_ANULADO ).equals( ecd.getEstado() ) )
|
||||
{
|
||||
return ecd.getEstado();
|
||||
}
|
||||
else if( new Integer( ESTADO_POR_REALIZAR ).equals( ecd.getEstado() ) )
|
||||
{
|
||||
estado = ecd.getEstado();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return estado == null ? ESTADO_POR_MARCAR : estado;
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,7 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcdsAnalise;
|
||||
|
||||
public class TrabalhadoresEcdsAnalise extends _TrabalhadoresEcdsAnalise {
|
||||
|
||||
}
|
||||
@ -1,205 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
import leaf.data.OrderedMap;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcdsDatas;
|
||||
import siprp.medicina.MedicinaConstants;
|
||||
|
||||
public class TrabalhadoresEcdsDatas extends _TrabalhadoresEcdsDatas implements MedicinaConstants
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getDataString()
|
||||
{
|
||||
return getData() == null ? "" : sdf.format( getData() );
|
||||
}
|
||||
|
||||
public String getEstadoString()
|
||||
{
|
||||
return getEstado() == null || getEstado() >= ESTADOS_EXAME_STR.length ? "" : ESTADOS_EXAME_STR[getEstado()];
|
||||
}
|
||||
|
||||
public HashMap<Integer, String> getEstados()
|
||||
{
|
||||
HashMap<Integer, String> result = new HashMap<Integer, String>();
|
||||
for( int i = 0; i < ESTADOS_EXAME_STR.length; ++i )
|
||||
{
|
||||
if( ESTADOS_EXAME_STR[i] != null )
|
||||
{
|
||||
result.put( new Integer( i ), ESTADOS_EXAME_STR[i] );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setData( Date date )
|
||||
{
|
||||
if( date != null && this.getToTrabalhadoresEcds() != null && this.getEstado() != null && new Integer( ESTADO_POR_REALIZAR ).equals( this.getEstado() ) )
|
||||
{
|
||||
this.getToTrabalhadoresEcds().setData( date );
|
||||
}
|
||||
super.setData( date );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDataString() + ": " + getEstadoString();
|
||||
}
|
||||
|
||||
public OrderedMap<PrtGruposProtocolo> getStatesForeGruposExames()
|
||||
{
|
||||
OrderedMap<PrtGruposProtocolo> grupos = new OrderedMap<PrtGruposProtocolo>();
|
||||
List<TrabalhadoresEcd> exames = this.getTrabalhadoresEcdArray();
|
||||
if( exames != null )
|
||||
{
|
||||
for( TrabalhadoresEcd exame : exames )
|
||||
{
|
||||
String estadoString = MedicinaConstants.ESTADOS_EXAME_STR[exame.getEstado()];
|
||||
PrtGruposProtocolo grupo = exame.getToPrtTiposElementosProtocolo().getToPrtGruposProtocolo();
|
||||
if( !grupos.containsKey( grupo ) )
|
||||
{
|
||||
grupos.putLast( grupo, grupo.getDescricao() );
|
||||
grupos.putLast( grupo, estadoString );
|
||||
}
|
||||
}
|
||||
}
|
||||
grupos.order();
|
||||
return grupos;
|
||||
}
|
||||
|
||||
private List<PrtTiposElementosProtocolo> getAllEcdForGrupoForThisMarcacao( PrtGruposProtocolo grupo )
|
||||
{
|
||||
List<PrtTiposElementosProtocolo> result = new ArrayList<PrtTiposElementosProtocolo>();
|
||||
for( TrabalhadoresEcd ecd : (List<TrabalhadoresEcd>) getTrabalhadoresEcdArray() )
|
||||
{
|
||||
if( grupo.equals( ecd.getToPrtTiposElementosProtocolo().getToPrtGruposProtocolo() ) )
|
||||
{
|
||||
result.add( ecd.getToPrtTiposElementosProtocolo() );
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
private List<PrtTiposElementosProtocolo> getAllEcdForGrupoAndCurrentPerfil( PrtGruposProtocolo grupo )
|
||||
{
|
||||
Trabalhadores trabalhador = getToTrabalhadoresEcds().getToTrabalhadores();
|
||||
List<PrtTiposElementosProtocolo> result = new ArrayList<PrtTiposElementosProtocolo>();
|
||||
Integer perfil = trabalhador.getPerfil();
|
||||
if( perfil != null )
|
||||
{
|
||||
Empresas empresa = trabalhador.getToEstabelecimentos().getToEmpresas();
|
||||
List<PrtElementosProtocolo> ecdsPerfil = (List<PrtElementosProtocolo>) empresa.getPrtElementosProtocoloArray();
|
||||
for( PrtElementosProtocolo ecdPerfil : ecdsPerfil )
|
||||
{
|
||||
if( perfil.equals( ecdPerfil.getNumeroPerfil() ) )
|
||||
{
|
||||
PrtTiposElementosProtocolo ecd = ecdPerfil.getToPrtTiposElementosProtocolo();
|
||||
if( ecd != null )
|
||||
{
|
||||
if( ecd.getToPrtGruposProtocolo().equals( grupo ) && !result.contains( ecd ) )
|
||||
{
|
||||
result.add( ecd );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public void marcarGrupoExames( PrtGruposProtocolo grupo )
|
||||
{
|
||||
for( PrtTiposElementosProtocolo ecd : getAllEcdForGrupoAndCurrentPerfil( grupo ) )
|
||||
{
|
||||
TrabalhadoresEcd trabEcd = new TrabalhadoresEcd();
|
||||
trabEcd.setEstado( MedicinaConstants.ESTADO_POR_REALIZAR );
|
||||
trabEcd.setToPrtTiposElementosProtocolo( ecd );
|
||||
trabEcd.setToTrabalhadoresEcdsDatas( this );
|
||||
addToTrabalhadoresEcdArray( trabEcd );
|
||||
}
|
||||
getToTrabalhadoresEcds().getGruposExamesForPerfil();
|
||||
}
|
||||
|
||||
public void setStateForGrupoProtocolo( PrtGruposProtocolo grupo, Integer estado )
|
||||
{
|
||||
List<PrtTiposElementosProtocolo> group = getAllEcdForGrupoForThisMarcacao( grupo );
|
||||
for(TrabalhadoresEcd ecd : (List<TrabalhadoresEcd>) getTrabalhadoresEcdArray())
|
||||
{
|
||||
if(group.contains( ecd.getToPrtTiposElementosProtocolo()))
|
||||
{
|
||||
ecd.setEstado( estado );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setStateForGrupoProtocolo( PrtGruposProtocolo grupo, String estado )
|
||||
{
|
||||
for( int i = 0; i < ESTADOS_EXAME_STR.length; ++i )
|
||||
{
|
||||
String currentEstado = ESTADOS_EXAME_STR[i];
|
||||
if( currentEstado != null && new Integer( i ).equals( estado ) )
|
||||
{
|
||||
setStateForGrupoProtocolo( grupo, i );
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void anular()
|
||||
{
|
||||
setEstadoForAllEcd( MedicinaConstants.ESTADO_ANULADO );
|
||||
}
|
||||
|
||||
public void realizar()
|
||||
{
|
||||
setEstadoForAllEcd( MedicinaConstants.ESTADO_REALIZADO );
|
||||
}
|
||||
|
||||
public void porRealizar()
|
||||
{
|
||||
setEstadoForAllEcd( MedicinaConstants.ESTADO_POR_REALIZAR );
|
||||
}
|
||||
|
||||
public void desmarcarSIPRP()
|
||||
{
|
||||
setEstadoForAllEcd( MedicinaConstants.ESTADO_DESMARCADO_EMPRESA );
|
||||
}
|
||||
|
||||
public void desmarcarTrabalhador()
|
||||
{
|
||||
setEstadoForAllEcd( MedicinaConstants.ESTADO_DESMARCADO_TRABALHADOR );
|
||||
}
|
||||
|
||||
public void faltou()
|
||||
{
|
||||
setEstadoForAllEcd( MedicinaConstants.ESTADO_FALTOU );
|
||||
}
|
||||
|
||||
public void setEstadoForAllEcd( Integer estado )
|
||||
{
|
||||
List<TrabalhadoresEcd> allEcd = (List<TrabalhadoresEcd>) getTrabalhadoresEcdArray();
|
||||
if(allEcd != null)
|
||||
{
|
||||
for(TrabalhadoresEcd ecd : allEcd )
|
||||
{
|
||||
ecd.setEstado( estado );
|
||||
}
|
||||
}
|
||||
super.setEstado( estado );
|
||||
getToTrabalhadoresEcds().getGruposExamesForPerfil();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setEstado( Integer estado ){
|
||||
super.setEstado( estado );
|
||||
getToTrabalhadoresEcds().getGruposExamesForPerfil();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,22 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcdsDatasEmails;
|
||||
|
||||
public class TrabalhadoresEcdsDatasEmails extends _TrabalhadoresEcdsDatasEmails {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public String getDataString()
|
||||
{
|
||||
return getData() == null ? "" : sdf.format( getData() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getSubject();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,56 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import com.evolute.utils.strings.UnicodeChecker;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcdsDatasObservacoes;
|
||||
|
||||
public class TrabalhadoresEcdsDatasObservacoes extends _TrabalhadoresEcdsDatasObservacoes {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String name = null;
|
||||
|
||||
private String convertedName = null;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getObservacao();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getObservacao()
|
||||
{
|
||||
String currentName = super.getObservacao();
|
||||
if( name == null || !name.equals( currentName ))
|
||||
{
|
||||
name = currentName;
|
||||
convertedName = null;
|
||||
}
|
||||
return convertName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setObservacao( String nome )
|
||||
{
|
||||
super.setObservacao( nome != null ? parseToUnicode( nome ) : null );
|
||||
getObservacao();
|
||||
}
|
||||
|
||||
private String convertName()
|
||||
{
|
||||
if( name == null )
|
||||
{
|
||||
convertedName = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
convertedName = parseFromUnicode( name );
|
||||
}
|
||||
return convertedName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,57 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresFichasAptidao;
|
||||
import siprp.ficha.FichaAptidaoConstants;
|
||||
|
||||
public class TrabalhadoresFichasAptidao extends _TrabalhadoresFichasAptidao {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
String result = "";
|
||||
Exames exame = getToExames();
|
||||
if( exame != null )
|
||||
{
|
||||
Date data = exame.getProximoExame();
|
||||
if( data != null )
|
||||
{
|
||||
result = sdf.format( data );
|
||||
}
|
||||
}
|
||||
return result + ": " + getEstadoString();
|
||||
}
|
||||
|
||||
private String getEstadoString()
|
||||
{
|
||||
String result = "";
|
||||
Exames exame = getToExames();
|
||||
if( exame != null )
|
||||
{
|
||||
Integer resultadoCodigo = exame.getResultado();
|
||||
if( resultadoCodigo != null )
|
||||
{
|
||||
switch( resultadoCodigo.intValue() )
|
||||
{
|
||||
case 1:
|
||||
result += "Apto";
|
||||
break;
|
||||
case 2:
|
||||
result += "Apto (cond)";
|
||||
break;
|
||||
case 3:
|
||||
result += "Inapto (temp)";
|
||||
break;
|
||||
case 4:
|
||||
result += "Inapto (def)";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,74 +0,0 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresProcesso;
|
||||
import siprp.medicina.MedicinaConstants;
|
||||
import siprp.medicina.MedicinaDataProvider;
|
||||
import siprp.medicina.processo.ProcessoConstants;
|
||||
|
||||
public class TrabalhadoresProcesso extends _TrabalhadoresProcesso implements ProcessoConstants {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String getDescricaoEstadoProcessoByCodigo()
|
||||
{
|
||||
return ESTADO_PROCESSO_BY_CODE.get( getEstado() );
|
||||
}
|
||||
|
||||
public String getMotivoString()
|
||||
{
|
||||
return getMotivo() == null ? "" : MedicinaDataProvider.MOTIVOS_BY_ID.get( getMotivo() );
|
||||
}
|
||||
|
||||
public String getEstadoString()
|
||||
{
|
||||
return getEstado() == null ? "" : getDescricaoEstadoProcessoByCodigo();
|
||||
}
|
||||
|
||||
public String getDataInicioString()
|
||||
{
|
||||
return getDataInicio() == null ? "" : sdf.format( getDataInicio() );
|
||||
}
|
||||
|
||||
public String getDataFimString()
|
||||
{
|
||||
return getDataFim() == null ? "" : sdf.format( getDataFim() );
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDataInicioString() + ": " + getMotivoString() + " : " + getDescricaoEstadoProcessoByCodigo();
|
||||
}
|
||||
|
||||
public HashMap<String, String> getEstados()
|
||||
{
|
||||
HashMap<String,String> result = new HashMap<String, String>();
|
||||
result.put( PROCESSO_ABERTO_CODE, PROCESSO_ABERTO_DESCRIPTION );
|
||||
result.put( PROCESSO_CANCELADO_CODE, PROCESSO_CANCELADO_DESCRIPTION );
|
||||
result.put( PROCESSO_FECHADO_CODE, PROCESSO_FECHADO_DESCRIPTION );
|
||||
return result;
|
||||
}
|
||||
|
||||
public HashMap<Integer, String> getMotivos()
|
||||
{
|
||||
HashMap<Integer,String> result = new HashMap<Integer, String>();
|
||||
result.put( MedicinaConstants.MOTIVO_ADMISSAO_INTEGER, MedicinaConstants.MOTIVO_ADMISSAO_STR);
|
||||
result.put( MedicinaConstants.MOTIVO_OCASIONAL_INTEGER, MedicinaConstants.MOTIVO_OCASIONAL_STR);
|
||||
result.put( MedicinaConstants.MOTIVO_PERIODICO_INICIAL_INTEGER, MedicinaConstants.MOTIVO_PERIODICO_INICIAL_STR);
|
||||
result.put( MedicinaConstants.MOTIVO_PERIODICO_INTEGER, MedicinaConstants.MOTIVO_PERIODICO_STR);
|
||||
return result;
|
||||
}
|
||||
|
||||
public boolean isEmpty()
|
||||
{
|
||||
boolean noConsultas = (getTrabalhadoresConsultasArray() == null || getTrabalhadoresConsultasArray().size() == 0);
|
||||
boolean noExames= ( getTrabalhadoresEcdsArray() == null || getTrabalhadoresEcdsArray().size() == 0);
|
||||
boolean noFicha = ( getTrabalhadoresFichasAptidaoArray() == null || getTrabalhadoresFichasAptidaoArray().size() == 0);
|
||||
return noConsultas && noExames && noFicha;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,96 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
|
||||
/**
|
||||
* Class _Avisos was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Avisos extends BaseObject {
|
||||
|
||||
public static final String DATA_AVISO_PROPERTY = "dataAviso";
|
||||
public static final String DATA_EVENTO_PROPERTY = "dataEvento";
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String EVENTO_ID_PROPERTY = "eventoId";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TIPO_PROPERTY = "tipo";
|
||||
public static final String TRABALHADOR_ID_PROPERTY = "trabalhadorId";
|
||||
public static final String TO_EMPRESAS_PROPERTY = "toEmpresas";
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDataAviso(Date dataAviso) {
|
||||
writeProperty("dataAviso", dataAviso);
|
||||
}
|
||||
public Date getDataAviso() {
|
||||
return (Date)readProperty("dataAviso");
|
||||
}
|
||||
|
||||
public void setDataEvento(Date dataEvento) {
|
||||
writeProperty("dataEvento", dataEvento);
|
||||
}
|
||||
public Date getDataEvento() {
|
||||
return (Date)readProperty("dataEvento");
|
||||
}
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setEventoId(Integer eventoId) {
|
||||
writeProperty("eventoId", eventoId);
|
||||
}
|
||||
public Integer getEventoId() {
|
||||
return (Integer)readProperty("eventoId");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setTipo(Integer tipo) {
|
||||
writeProperty("tipo", tipo);
|
||||
}
|
||||
public Integer getTipo() {
|
||||
return (Integer)readProperty("tipo");
|
||||
}
|
||||
|
||||
public void setTrabalhadorId(Integer trabalhadorId) {
|
||||
writeProperty("trabalhadorId", trabalhadorId);
|
||||
}
|
||||
public Integer getTrabalhadorId() {
|
||||
return (Integer)readProperty("trabalhadorId");
|
||||
}
|
||||
|
||||
public void setToEmpresas(Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public Empresas getToEmpresas() {
|
||||
return (Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,129 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
|
||||
/**
|
||||
* Class _Contactos was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Contactos extends BaseObject {
|
||||
|
||||
public static final String CARGO_PROPERTY = "cargo";
|
||||
public static final String EMAIL_PROPERTY = "email";
|
||||
public static final String FAX_PROPERTY = "fax";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String NOME_PROPERTY = "nome";
|
||||
public static final String TELEFONE_PROPERTY = "telefone";
|
||||
public static final String TELEMOVEL_PROPERTY = "telemovel";
|
||||
public static final String EMPRESAS_ARRAY_PROPERTY = "empresasArray";
|
||||
public static final String EMPRESAS_ARRAY1_PROPERTY = "empresasArray1";
|
||||
public static final String ESTABELECIMENTOS_ARRAY_PROPERTY = "estabelecimentosArray";
|
||||
public static final String PRESTADORES_ARRAY_PROPERTY = "prestadoresArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setCargo(String cargo) {
|
||||
writeProperty("cargo", cargo);
|
||||
}
|
||||
public String getCargo() {
|
||||
return (String)readProperty("cargo");
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
writeProperty("email", email);
|
||||
}
|
||||
public String getEmail() {
|
||||
return (String)readProperty("email");
|
||||
}
|
||||
|
||||
public void setFax(String fax) {
|
||||
writeProperty("fax", fax);
|
||||
}
|
||||
public String getFax() {
|
||||
return (String)readProperty("fax");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setNome(String nome) {
|
||||
writeProperty("nome", nome);
|
||||
}
|
||||
public String getNome() {
|
||||
return (String)readProperty("nome");
|
||||
}
|
||||
|
||||
public void setTelefone(String telefone) {
|
||||
writeProperty("telefone", telefone);
|
||||
}
|
||||
public String getTelefone() {
|
||||
return (String)readProperty("telefone");
|
||||
}
|
||||
|
||||
public void setTelemovel(String telemovel) {
|
||||
writeProperty("telemovel", telemovel);
|
||||
}
|
||||
public String getTelemovel() {
|
||||
return (String)readProperty("telemovel");
|
||||
}
|
||||
|
||||
public void addToEmpresasArray(Empresas obj) {
|
||||
addToManyTarget("empresasArray", obj, true);
|
||||
}
|
||||
public void removeFromEmpresasArray(Empresas obj) {
|
||||
removeToManyTarget("empresasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Empresas> getEmpresasArray() {
|
||||
return (List<Empresas>)readProperty("empresasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToEmpresasArray1(Empresas obj) {
|
||||
addToManyTarget("empresasArray1", obj, true);
|
||||
}
|
||||
public void removeFromEmpresasArray1(Empresas obj) {
|
||||
removeToManyTarget("empresasArray1", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Empresas> getEmpresasArray1() {
|
||||
return (List<Empresas>)readProperty("empresasArray1");
|
||||
}
|
||||
|
||||
|
||||
public void addToEstabelecimentosArray(Estabelecimentos obj) {
|
||||
addToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public void removeFromEstabelecimentosArray(Estabelecimentos obj) {
|
||||
removeToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Estabelecimentos> getEstabelecimentosArray() {
|
||||
return (List<Estabelecimentos>)readProperty("estabelecimentosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrestadoresArray(Prestadores obj) {
|
||||
addToManyTarget("prestadoresArray", obj, true);
|
||||
}
|
||||
public void removeFromPrestadoresArray(Prestadores obj) {
|
||||
removeToManyTarget("prestadoresArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Prestadores> getPrestadoresArray() {
|
||||
return (List<Prestadores>)readProperty("prestadoresArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,72 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcd;
|
||||
|
||||
/**
|
||||
* Class _EcdOficial was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _EcdOficial extends BaseObject {
|
||||
|
||||
public static final String ACTIVO_PROPERTY = "activo";
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String DESCRICAO_PLAIN_PROPERTY = "descricaoPlain";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String ORDEM_PROPERTY = "ordem";
|
||||
public static final String TRABALHADORES_ECD_ARRAY_PROPERTY = "trabalhadoresEcdArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setActivo(String activo) {
|
||||
writeProperty("activo", activo);
|
||||
}
|
||||
public String getActivo() {
|
||||
return (String)readProperty("activo");
|
||||
}
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setDescricaoPlain(String descricaoPlain) {
|
||||
writeProperty("descricaoPlain", descricaoPlain);
|
||||
}
|
||||
public String getDescricaoPlain() {
|
||||
return (String)readProperty("descricaoPlain");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
public void addToTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcd> getTrabalhadoresEcdArray() {
|
||||
return (List<TrabalhadoresEcd>)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,36 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
|
||||
/**
|
||||
* Class _EmailPlanoDeActuacao was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _EmailPlanoDeActuacao extends CayenneDataObject {
|
||||
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,449 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.Avisos;
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Contactos;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.Image;
|
||||
import siprp.database.cayenne.objects.Lembretes;
|
||||
import siprp.database.cayenne.objects.MarcacoesEmpresa;
|
||||
import siprp.database.cayenne.objects.PrtElementosProtocolo;
|
||||
|
||||
/**
|
||||
* Class _Empresas was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Empresas extends BaseObject {
|
||||
|
||||
public static final String A_CONSULTAS_PROPERTY = "aConsultas";
|
||||
public static final String A_EXAMES_PROPERTY = "aExames";
|
||||
public static final String ACTIVIDADE_PROPERTY = "actividade";
|
||||
public static final String ACTUALIZACAO_PROPERTY = "actualizacao";
|
||||
public static final String B_CONSULTAS_PROPERTY = "bConsultas";
|
||||
public static final String B_EXAMES_PROPERTY = "bExames";
|
||||
public static final String CAE_PROPERTY = "cae";
|
||||
public static final String CODIGO1_PROPERTY = "codigo1";
|
||||
public static final String CODIGO2_PROPERTY = "codigo2";
|
||||
public static final String CODIGO3_PROPERTY = "codigo3";
|
||||
public static final String CODIGO_POSTAL_PROPERTY = "codigoPostal";
|
||||
public static final String CONCELHO_PROPERTY = "concelho";
|
||||
public static final String CONTRIBUINTE_PROPERTY = "contribuinte";
|
||||
public static final String DATA_ACEITACAO_PROPERTY = "dataAceitacao";
|
||||
public static final String DATA_CANCELAMENTO_PROPERTY = "dataCancelamento";
|
||||
public static final String DATA_ENVIO_CONTRATO_PROPERTY = "dataEnvioContrato";
|
||||
public static final String DATA_ENVIO_IDICT_PROPERTY = "dataEnvioIdict";
|
||||
public static final String DATA_PROPOSTA_PROPERTY = "dataProposta";
|
||||
public static final String DATA_RECEPCAO_CONTRATO_PROPERTY = "dataRecepcaoContrato";
|
||||
public static final String DATA_RELATORIO_ANUAL_PROPERTY = "dataRelatorioAnual";
|
||||
public static final String DESIGNACAO_SOCIAL_PROPERTY = "designacaoSocial";
|
||||
public static final String DESIGNACAO_SOCIAL_PLAIN_PROPERTY = "designacaoSocialPlain";
|
||||
public static final String DISTRITO_PROPERTY = "distrito";
|
||||
public static final String DURACAO_PROPERTY = "duracao";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String INACTIVO_PROPERTY = "inactivo";
|
||||
public static final String INICIO_CONTRATO_PROPERTY = "inicioContrato";
|
||||
public static final String LOCALIDADE_PROPERTY = "localidade";
|
||||
public static final String MORADA_PROPERTY = "morada";
|
||||
public static final String NUMERO_TRABALHADORES_PROPERTY = "numeroTrabalhadores";
|
||||
public static final String PERFIL1_PROPERTY = "perfil1";
|
||||
public static final String PERFIL2_PROPERTY = "perfil2";
|
||||
public static final String PERIODICIDADE_PROPERTY = "periodicidade";
|
||||
public static final String PRECO_HIGIENE_PROPERTY = "precoHigiene";
|
||||
public static final String PRECO_MEDICINA_PROPERTY = "precoMedicina";
|
||||
public static final String SEGURANCA_SOCIAL_PROPERTY = "segurancaSocial";
|
||||
public static final String SERVICO_HIGIENE_DESIGNACAO_PROPERTY = "servicoHigieneDesignacao";
|
||||
public static final String SERVICO_HIGIENE_TIPO_PROPERTY = "servicoHigieneTipo";
|
||||
public static final String SERVICO_SAUDE_DESIGNACAO_PROPERTY = "servicoSaudeDesignacao";
|
||||
public static final String SERVICO_SAUDE_TIPO_PROPERTY = "servicoSaudeTipo";
|
||||
public static final String SERVICOS_PROPERTY = "servicos";
|
||||
public static final String AVISOS_ARRAY_PROPERTY = "avisosArray";
|
||||
public static final String ESTABELECIMENTOS_ARRAY_PROPERTY = "estabelecimentosArray";
|
||||
public static final String LEMBRETES_ARRAY_PROPERTY = "lembretesArray";
|
||||
public static final String MARCACOES_EMPRESA_ARRAY_PROPERTY = "marcacoesEmpresaArray";
|
||||
public static final String PRT_ELEMENTOS_PROTOCOLO_ARRAY_PROPERTY = "prtElementosProtocoloArray";
|
||||
public static final String TO_CONTACTOS_PROPERTY = "toContactos";
|
||||
public static final String TO_CONTACTOS1_PROPERTY = "toContactos1";
|
||||
public static final String TO_LOGOTIPO_PROPERTY = "toLogotipo";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setAConsultas(String aConsultas) {
|
||||
writeProperty("aConsultas", aConsultas);
|
||||
}
|
||||
public String getAConsultas() {
|
||||
return (String)readProperty("aConsultas");
|
||||
}
|
||||
|
||||
public void setAExames(String aExames) {
|
||||
writeProperty("aExames", aExames);
|
||||
}
|
||||
public String getAExames() {
|
||||
return (String)readProperty("aExames");
|
||||
}
|
||||
|
||||
public void setActividade(String actividade) {
|
||||
writeProperty("actividade", actividade);
|
||||
}
|
||||
public String getActividade() {
|
||||
return (String)readProperty("actividade");
|
||||
}
|
||||
|
||||
public void setActualizacao(Date actualizacao) {
|
||||
writeProperty("actualizacao", actualizacao);
|
||||
}
|
||||
public Date getActualizacao() {
|
||||
return (Date)readProperty("actualizacao");
|
||||
}
|
||||
|
||||
public void setBConsultas(String bConsultas) {
|
||||
writeProperty("bConsultas", bConsultas);
|
||||
}
|
||||
public String getBConsultas() {
|
||||
return (String)readProperty("bConsultas");
|
||||
}
|
||||
|
||||
public void setBExames(String bExames) {
|
||||
writeProperty("bExames", bExames);
|
||||
}
|
||||
public String getBExames() {
|
||||
return (String)readProperty("bExames");
|
||||
}
|
||||
|
||||
public void setCae(String cae) {
|
||||
writeProperty("cae", cae);
|
||||
}
|
||||
public String getCae() {
|
||||
return (String)readProperty("cae");
|
||||
}
|
||||
|
||||
public void setCodigo1(String codigo1) {
|
||||
writeProperty("codigo1", codigo1);
|
||||
}
|
||||
public String getCodigo1() {
|
||||
return (String)readProperty("codigo1");
|
||||
}
|
||||
|
||||
public void setCodigo2(String codigo2) {
|
||||
writeProperty("codigo2", codigo2);
|
||||
}
|
||||
public String getCodigo2() {
|
||||
return (String)readProperty("codigo2");
|
||||
}
|
||||
|
||||
public void setCodigo3(String codigo3) {
|
||||
writeProperty("codigo3", codigo3);
|
||||
}
|
||||
public String getCodigo3() {
|
||||
return (String)readProperty("codigo3");
|
||||
}
|
||||
|
||||
public void setCodigoPostal(String codigoPostal) {
|
||||
writeProperty("codigoPostal", codigoPostal);
|
||||
}
|
||||
public String getCodigoPostal() {
|
||||
return (String)readProperty("codigoPostal");
|
||||
}
|
||||
|
||||
public void setConcelho(String concelho) {
|
||||
writeProperty("concelho", concelho);
|
||||
}
|
||||
public String getConcelho() {
|
||||
return (String)readProperty("concelho");
|
||||
}
|
||||
|
||||
public void setContribuinte(String contribuinte) {
|
||||
writeProperty("contribuinte", contribuinte);
|
||||
}
|
||||
public String getContribuinte() {
|
||||
return (String)readProperty("contribuinte");
|
||||
}
|
||||
|
||||
public void setDataAceitacao(Date dataAceitacao) {
|
||||
writeProperty("dataAceitacao", dataAceitacao);
|
||||
}
|
||||
public Date getDataAceitacao() {
|
||||
return (Date)readProperty("dataAceitacao");
|
||||
}
|
||||
|
||||
public void setDataCancelamento(Date dataCancelamento) {
|
||||
writeProperty("dataCancelamento", dataCancelamento);
|
||||
}
|
||||
public Date getDataCancelamento() {
|
||||
return (Date)readProperty("dataCancelamento");
|
||||
}
|
||||
|
||||
public void setDataEnvioContrato(Date dataEnvioContrato) {
|
||||
writeProperty("dataEnvioContrato", dataEnvioContrato);
|
||||
}
|
||||
public Date getDataEnvioContrato() {
|
||||
return (Date)readProperty("dataEnvioContrato");
|
||||
}
|
||||
|
||||
public void setDataEnvioIdict(Date dataEnvioIdict) {
|
||||
writeProperty("dataEnvioIdict", dataEnvioIdict);
|
||||
}
|
||||
public Date getDataEnvioIdict() {
|
||||
return (Date)readProperty("dataEnvioIdict");
|
||||
}
|
||||
|
||||
public void setDataProposta(Date dataProposta) {
|
||||
writeProperty("dataProposta", dataProposta);
|
||||
}
|
||||
public Date getDataProposta() {
|
||||
return (Date)readProperty("dataProposta");
|
||||
}
|
||||
|
||||
public void setDataRecepcaoContrato(Date dataRecepcaoContrato) {
|
||||
writeProperty("dataRecepcaoContrato", dataRecepcaoContrato);
|
||||
}
|
||||
public Date getDataRecepcaoContrato() {
|
||||
return (Date)readProperty("dataRecepcaoContrato");
|
||||
}
|
||||
|
||||
public void setDataRelatorioAnual(Date dataRelatorioAnual) {
|
||||
writeProperty("dataRelatorioAnual", dataRelatorioAnual);
|
||||
}
|
||||
public Date getDataRelatorioAnual() {
|
||||
return (Date)readProperty("dataRelatorioAnual");
|
||||
}
|
||||
|
||||
public void setDesignacaoSocial(String designacaoSocial) {
|
||||
writeProperty("designacaoSocial", designacaoSocial);
|
||||
}
|
||||
public String getDesignacaoSocial() {
|
||||
return (String)readProperty("designacaoSocial");
|
||||
}
|
||||
|
||||
public void setDesignacaoSocialPlain(String designacaoSocialPlain) {
|
||||
writeProperty("designacaoSocialPlain", designacaoSocialPlain);
|
||||
}
|
||||
public String getDesignacaoSocialPlain() {
|
||||
return (String)readProperty("designacaoSocialPlain");
|
||||
}
|
||||
|
||||
public void setDistrito(String distrito) {
|
||||
writeProperty("distrito", distrito);
|
||||
}
|
||||
public String getDistrito() {
|
||||
return (String)readProperty("distrito");
|
||||
}
|
||||
|
||||
public void setDuracao(Integer duracao) {
|
||||
writeProperty("duracao", duracao);
|
||||
}
|
||||
public Integer getDuracao() {
|
||||
return (Integer)readProperty("duracao");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setInactivo(String inactivo) {
|
||||
writeProperty("inactivo", inactivo);
|
||||
}
|
||||
public String getInactivo() {
|
||||
return (String)readProperty("inactivo");
|
||||
}
|
||||
|
||||
public void setInicioContrato(Date inicioContrato) {
|
||||
writeProperty("inicioContrato", inicioContrato);
|
||||
}
|
||||
public Date getInicioContrato() {
|
||||
return (Date)readProperty("inicioContrato");
|
||||
}
|
||||
|
||||
public void setLocalidade(String localidade) {
|
||||
writeProperty("localidade", localidade);
|
||||
}
|
||||
public String getLocalidade() {
|
||||
return (String)readProperty("localidade");
|
||||
}
|
||||
|
||||
public void setMorada(String morada) {
|
||||
writeProperty("morada", morada);
|
||||
}
|
||||
public String getMorada() {
|
||||
return (String)readProperty("morada");
|
||||
}
|
||||
|
||||
public void setNumeroTrabalhadores(Integer numeroTrabalhadores) {
|
||||
writeProperty("numeroTrabalhadores", numeroTrabalhadores);
|
||||
}
|
||||
public Integer getNumeroTrabalhadores() {
|
||||
return (Integer)readProperty("numeroTrabalhadores");
|
||||
}
|
||||
|
||||
public void setPerfil1(String perfil1) {
|
||||
writeProperty("perfil1", perfil1);
|
||||
}
|
||||
public String getPerfil1() {
|
||||
return (String)readProperty("perfil1");
|
||||
}
|
||||
|
||||
public void setPerfil2(String perfil2) {
|
||||
writeProperty("perfil2", perfil2);
|
||||
}
|
||||
public String getPerfil2() {
|
||||
return (String)readProperty("perfil2");
|
||||
}
|
||||
|
||||
public void setPeriodicidade(String periodicidade) {
|
||||
writeProperty("periodicidade", periodicidade);
|
||||
}
|
||||
public String getPeriodicidade() {
|
||||
return (String)readProperty("periodicidade");
|
||||
}
|
||||
|
||||
public void setPrecoHigiene(Double precoHigiene) {
|
||||
writeProperty("precoHigiene", precoHigiene);
|
||||
}
|
||||
public Double getPrecoHigiene() {
|
||||
return (Double)readProperty("precoHigiene");
|
||||
}
|
||||
|
||||
public void setPrecoMedicina(Double precoMedicina) {
|
||||
writeProperty("precoMedicina", precoMedicina);
|
||||
}
|
||||
public Double getPrecoMedicina() {
|
||||
return (Double)readProperty("precoMedicina");
|
||||
}
|
||||
|
||||
public void setSegurancaSocial(String segurancaSocial) {
|
||||
writeProperty("segurancaSocial", segurancaSocial);
|
||||
}
|
||||
public String getSegurancaSocial() {
|
||||
return (String)readProperty("segurancaSocial");
|
||||
}
|
||||
|
||||
public void setServicoHigieneDesignacao(String servicoHigieneDesignacao) {
|
||||
writeProperty("servicoHigieneDesignacao", servicoHigieneDesignacao);
|
||||
}
|
||||
public String getServicoHigieneDesignacao() {
|
||||
return (String)readProperty("servicoHigieneDesignacao");
|
||||
}
|
||||
|
||||
public void setServicoHigieneTipo(Integer servicoHigieneTipo) {
|
||||
writeProperty("servicoHigieneTipo", servicoHigieneTipo);
|
||||
}
|
||||
public Integer getServicoHigieneTipo() {
|
||||
return (Integer)readProperty("servicoHigieneTipo");
|
||||
}
|
||||
|
||||
public void setServicoSaudeDesignacao(String servicoSaudeDesignacao) {
|
||||
writeProperty("servicoSaudeDesignacao", servicoSaudeDesignacao);
|
||||
}
|
||||
public String getServicoSaudeDesignacao() {
|
||||
return (String)readProperty("servicoSaudeDesignacao");
|
||||
}
|
||||
|
||||
public void setServicoSaudeTipo(Integer servicoSaudeTipo) {
|
||||
writeProperty("servicoSaudeTipo", servicoSaudeTipo);
|
||||
}
|
||||
public Integer getServicoSaudeTipo() {
|
||||
return (Integer)readProperty("servicoSaudeTipo");
|
||||
}
|
||||
|
||||
public void setServicos(Integer servicos) {
|
||||
writeProperty("servicos", servicos);
|
||||
}
|
||||
public Integer getServicos() {
|
||||
return (Integer)readProperty("servicos");
|
||||
}
|
||||
|
||||
public void addToAvisosArray(Avisos obj) {
|
||||
addToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
public void removeFromAvisosArray(Avisos obj) {
|
||||
removeToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Avisos> getAvisosArray() {
|
||||
return (List<Avisos>)readProperty("avisosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToEstabelecimentosArray(Estabelecimentos obj) {
|
||||
addToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public void removeFromEstabelecimentosArray(Estabelecimentos obj) {
|
||||
removeToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Estabelecimentos> getEstabelecimentosArray() {
|
||||
return (List<Estabelecimentos>)readProperty("estabelecimentosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToLembretesArray(Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Lembretes> getLembretesArray() {
|
||||
return (List<Lembretes>)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesEmpresaArray(MarcacoesEmpresa obj) {
|
||||
addToManyTarget("marcacoesEmpresaArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesEmpresaArray(MarcacoesEmpresa obj) {
|
||||
removeToManyTarget("marcacoesEmpresaArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesEmpresa> getMarcacoesEmpresaArray() {
|
||||
return (List<MarcacoesEmpresa>)readProperty("marcacoesEmpresaArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrtElementosProtocoloArray(PrtElementosProtocolo obj) {
|
||||
addToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrtElementosProtocoloArray(PrtElementosProtocolo obj) {
|
||||
removeToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PrtElementosProtocolo> getPrtElementosProtocoloArray() {
|
||||
return (List<PrtElementosProtocolo>)readProperty("prtElementosProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToContactos(Contactos toContactos) {
|
||||
setToOneTarget("toContactos", toContactos, true);
|
||||
}
|
||||
|
||||
public Contactos getToContactos() {
|
||||
return (Contactos)readProperty("toContactos");
|
||||
}
|
||||
|
||||
|
||||
public void setToContactos1(Contactos toContactos1) {
|
||||
setToOneTarget("toContactos1", toContactos1, true);
|
||||
}
|
||||
|
||||
public Contactos getToContactos1() {
|
||||
return (Contactos)readProperty("toContactos1");
|
||||
}
|
||||
|
||||
|
||||
public void setToLogotipo(Image toLogotipo) {
|
||||
setToOneTarget("toLogotipo", toLogotipo, true);
|
||||
}
|
||||
|
||||
public Image getToLogotipo() {
|
||||
return (Image)readProperty("toLogotipo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,58 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
|
||||
/**
|
||||
* Class _Errors was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Errors extends BaseObject {
|
||||
|
||||
public static final String DATE_PROPERTY = "date";
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String ENVIRONMENT_PROPERTY = "environment";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TYPE_PROPERTY = "type";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDate(Date date) {
|
||||
writeProperty("date", date);
|
||||
}
|
||||
public Date getDate() {
|
||||
return (Date)readProperty("date");
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void setEnvironment(String environment) {
|
||||
writeProperty("environment", environment);
|
||||
}
|
||||
public String getEnvironment() {
|
||||
return (String)readProperty("environment");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
writeProperty("type", type);
|
||||
}
|
||||
public String getType() {
|
||||
return (String)readProperty("type");
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,265 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.Avisos;
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Contactos;
|
||||
import siprp.database.cayenne.objects.EmailPlanoDeActuacao;
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
import siprp.database.cayenne.objects.HistoricoEstabelecimento;
|
||||
import siprp.database.cayenne.objects.LegislacaoEstabelecimento;
|
||||
import siprp.database.cayenne.objects.Lembretes;
|
||||
import siprp.database.cayenne.objects.MarcacoesEstabelecimento;
|
||||
import siprp.database.cayenne.objects.Medicos;
|
||||
import siprp.database.cayenne.objects.PostoDeTrabalhoEstabelecimento;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.Trabalhadores;
|
||||
|
||||
/**
|
||||
* Class _Estabelecimentos was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Estabelecimentos extends BaseObject {
|
||||
|
||||
public static final String ACTUALIZACAO_PROPERTY = "actualizacao";
|
||||
public static final String CODIGO_POSTAL_PROPERTY = "codigoPostal";
|
||||
public static final String CONTACTO_BACKUP_PROPERTY = "contactoBackup";
|
||||
public static final String HISTORICO_PROPERTY = "historico";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String INACTIVO_PROPERTY = "inactivo";
|
||||
public static final String LOCALIDADE_PROPERTY = "localidade";
|
||||
public static final String MORADA_PROPERTY = "morada";
|
||||
public static final String NOME_PROPERTY = "nome";
|
||||
public static final String NOME_PLAIN_PROPERTY = "nomePlain";
|
||||
public static final String AVISOS_ARRAY_PROPERTY = "avisosArray";
|
||||
public static final String EMAIL_PLANO_DE_ACTUACAO_ARRAY_PROPERTY = "emailPlanoDeActuacaoArray";
|
||||
public static final String HISTORICO_ESTABELECIMENTO_ARRAY_PROPERTY = "historicoEstabelecimentoArray";
|
||||
public static final String LEGISLACAO_ESTABELECIMENTO_ARRAY_PROPERTY = "legislacaoEstabelecimentoArray";
|
||||
public static final String LEMBRETES_ARRAY_PROPERTY = "lembretesArray";
|
||||
public static final String MARCACOES_ESTABELECIMENTO_ARRAY_PROPERTY = "marcacoesEstabelecimentoArray";
|
||||
public static final String POSTO_DE_TRABALHO_ESTABELECIMENTO_ARRAY_PROPERTY = "postoDeTrabalhoEstabelecimentoArray";
|
||||
public static final String TO_CONTACTOS_PROPERTY = "toContactos";
|
||||
public static final String TO_EMPRESAS_PROPERTY = "toEmpresas";
|
||||
public static final String TO_MEDICOS_PROPERTY = "toMedicos";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
public static final String TO_PRESTADORES1_PROPERTY = "toPrestadores1";
|
||||
public static final String TRABALHADORES_ARRAY_PROPERTY = "trabalhadoresArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setActualizacao(Date actualizacao) {
|
||||
writeProperty("actualizacao", actualizacao);
|
||||
}
|
||||
public Date getActualizacao() {
|
||||
return (Date)readProperty("actualizacao");
|
||||
}
|
||||
|
||||
public void setCodigoPostal(String codigoPostal) {
|
||||
writeProperty("codigoPostal", codigoPostal);
|
||||
}
|
||||
public String getCodigoPostal() {
|
||||
return (String)readProperty("codigoPostal");
|
||||
}
|
||||
|
||||
public void setContactoBackup(String contactoBackup) {
|
||||
writeProperty("contactoBackup", contactoBackup);
|
||||
}
|
||||
public String getContactoBackup() {
|
||||
return (String)readProperty("contactoBackup");
|
||||
}
|
||||
|
||||
public void setHistorico(String historico) {
|
||||
writeProperty("historico", historico);
|
||||
}
|
||||
public String getHistorico() {
|
||||
return (String)readProperty("historico");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setInactivo(String inactivo) {
|
||||
writeProperty("inactivo", inactivo);
|
||||
}
|
||||
public String getInactivo() {
|
||||
return (String)readProperty("inactivo");
|
||||
}
|
||||
|
||||
public void setLocalidade(String localidade) {
|
||||
writeProperty("localidade", localidade);
|
||||
}
|
||||
public String getLocalidade() {
|
||||
return (String)readProperty("localidade");
|
||||
}
|
||||
|
||||
public void setMorada(String morada) {
|
||||
writeProperty("morada", morada);
|
||||
}
|
||||
public String getMorada() {
|
||||
return (String)readProperty("morada");
|
||||
}
|
||||
|
||||
public void setNome(String nome) {
|
||||
writeProperty("nome", nome);
|
||||
}
|
||||
public String getNome() {
|
||||
return (String)readProperty("nome");
|
||||
}
|
||||
|
||||
public void setNomePlain(String nomePlain) {
|
||||
writeProperty("nomePlain", nomePlain);
|
||||
}
|
||||
public String getNomePlain() {
|
||||
return (String)readProperty("nomePlain");
|
||||
}
|
||||
|
||||
public void addToAvisosArray(Avisos obj) {
|
||||
addToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
public void removeFromAvisosArray(Avisos obj) {
|
||||
removeToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Avisos> getAvisosArray() {
|
||||
return (List<Avisos>)readProperty("avisosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToEmailPlanoDeActuacaoArray(EmailPlanoDeActuacao obj) {
|
||||
addToManyTarget("emailPlanoDeActuacaoArray", obj, true);
|
||||
}
|
||||
public void removeFromEmailPlanoDeActuacaoArray(EmailPlanoDeActuacao obj) {
|
||||
removeToManyTarget("emailPlanoDeActuacaoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<EmailPlanoDeActuacao> getEmailPlanoDeActuacaoArray() {
|
||||
return (List<EmailPlanoDeActuacao>)readProperty("emailPlanoDeActuacaoArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToHistoricoEstabelecimentoArray(HistoricoEstabelecimento obj) {
|
||||
addToManyTarget("historicoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromHistoricoEstabelecimentoArray(HistoricoEstabelecimento obj) {
|
||||
removeToManyTarget("historicoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<HistoricoEstabelecimento> getHistoricoEstabelecimentoArray() {
|
||||
return (List<HistoricoEstabelecimento>)readProperty("historicoEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToLegislacaoEstabelecimentoArray(LegislacaoEstabelecimento obj) {
|
||||
addToManyTarget("legislacaoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromLegislacaoEstabelecimentoArray(LegislacaoEstabelecimento obj) {
|
||||
removeToManyTarget("legislacaoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<LegislacaoEstabelecimento> getLegislacaoEstabelecimentoArray() {
|
||||
return (List<LegislacaoEstabelecimento>)readProperty("legislacaoEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToLembretesArray(Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Lembretes> getLembretesArray() {
|
||||
return (List<Lembretes>)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesEstabelecimentoArray(MarcacoesEstabelecimento obj) {
|
||||
addToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesEstabelecimentoArray(MarcacoesEstabelecimento obj) {
|
||||
removeToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesEstabelecimento> getMarcacoesEstabelecimentoArray() {
|
||||
return (List<MarcacoesEstabelecimento>)readProperty("marcacoesEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPostoDeTrabalhoEstabelecimentoArray(PostoDeTrabalhoEstabelecimento obj) {
|
||||
addToManyTarget("postoDeTrabalhoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromPostoDeTrabalhoEstabelecimentoArray(PostoDeTrabalhoEstabelecimento obj) {
|
||||
removeToManyTarget("postoDeTrabalhoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PostoDeTrabalhoEstabelecimento> getPostoDeTrabalhoEstabelecimentoArray() {
|
||||
return (List<PostoDeTrabalhoEstabelecimento>)readProperty("postoDeTrabalhoEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToContactos(Contactos toContactos) {
|
||||
setToOneTarget("toContactos", toContactos, true);
|
||||
}
|
||||
|
||||
public Contactos getToContactos() {
|
||||
return (Contactos)readProperty("toContactos");
|
||||
}
|
||||
|
||||
|
||||
public void setToEmpresas(Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public Empresas getToEmpresas() {
|
||||
return (Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToMedicos(Medicos toMedicos) {
|
||||
setToOneTarget("toMedicos", toMedicos, true);
|
||||
}
|
||||
|
||||
public Medicos getToMedicos() {
|
||||
return (Medicos)readProperty("toMedicos");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores1(Prestadores toPrestadores1) {
|
||||
setToOneTarget("toPrestadores1", toPrestadores1, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores1() {
|
||||
return (Prestadores)readProperty("toPrestadores1");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresArray(Trabalhadores obj) {
|
||||
addToManyTarget("trabalhadoresArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresArray(Trabalhadores obj) {
|
||||
removeToManyTarget("trabalhadoresArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Trabalhadores> getTrabalhadoresArray() {
|
||||
return (List<Trabalhadores>)readProperty("trabalhadoresArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,128 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
|
||||
/**
|
||||
* Class _Etiquetas was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Etiquetas extends BaseObject {
|
||||
|
||||
public static final String ALTURA_PROPERTY = "altura";
|
||||
public static final String ALTURA_FOLHA_PROPERTY = "alturaFolha";
|
||||
public static final String COLUNAS_PROPERTY = "colunas";
|
||||
public static final String CONTINUA_PROPERTY = "continua";
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String DESCRICAO_PLAIN_PROPERTY = "descricaoPlain";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String LARGURA_PROPERTY = "largura";
|
||||
public static final String LARGURA_FOLHA_PROPERTY = "larguraFolha";
|
||||
public static final String LINHAS_PROPERTY = "linhas";
|
||||
public static final String MARGEM_CIMA_PROPERTY = "margemCima";
|
||||
public static final String MARGEM_ESQUERDA_PROPERTY = "margemEsquerda";
|
||||
public static final String MARGEM_HORIZONTAL_FOLHA_PROPERTY = "margemHorizontalFolha";
|
||||
public static final String MARGEM_VERTICAL_FOLHA_PROPERTY = "margemVerticalFolha";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setAltura(Float altura) {
|
||||
writeProperty("altura", altura);
|
||||
}
|
||||
public Float getAltura() {
|
||||
return (Float)readProperty("altura");
|
||||
}
|
||||
|
||||
public void setAlturaFolha(Float alturaFolha) {
|
||||
writeProperty("alturaFolha", alturaFolha);
|
||||
}
|
||||
public Float getAlturaFolha() {
|
||||
return (Float)readProperty("alturaFolha");
|
||||
}
|
||||
|
||||
public void setColunas(Integer colunas) {
|
||||
writeProperty("colunas", colunas);
|
||||
}
|
||||
public Integer getColunas() {
|
||||
return (Integer)readProperty("colunas");
|
||||
}
|
||||
|
||||
public void setContinua(String continua) {
|
||||
writeProperty("continua", continua);
|
||||
}
|
||||
public String getContinua() {
|
||||
return (String)readProperty("continua");
|
||||
}
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setDescricaoPlain(String descricaoPlain) {
|
||||
writeProperty("descricaoPlain", descricaoPlain);
|
||||
}
|
||||
public String getDescricaoPlain() {
|
||||
return (String)readProperty("descricaoPlain");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setLargura(Float largura) {
|
||||
writeProperty("largura", largura);
|
||||
}
|
||||
public Float getLargura() {
|
||||
return (Float)readProperty("largura");
|
||||
}
|
||||
|
||||
public void setLarguraFolha(Float larguraFolha) {
|
||||
writeProperty("larguraFolha", larguraFolha);
|
||||
}
|
||||
public Float getLarguraFolha() {
|
||||
return (Float)readProperty("larguraFolha");
|
||||
}
|
||||
|
||||
public void setLinhas(Integer linhas) {
|
||||
writeProperty("linhas", linhas);
|
||||
}
|
||||
public Integer getLinhas() {
|
||||
return (Integer)readProperty("linhas");
|
||||
}
|
||||
|
||||
public void setMargemCima(Float margemCima) {
|
||||
writeProperty("margemCima", margemCima);
|
||||
}
|
||||
public Float getMargemCima() {
|
||||
return (Float)readProperty("margemCima");
|
||||
}
|
||||
|
||||
public void setMargemEsquerda(Float margemEsquerda) {
|
||||
writeProperty("margemEsquerda", margemEsquerda);
|
||||
}
|
||||
public Float getMargemEsquerda() {
|
||||
return (Float)readProperty("margemEsquerda");
|
||||
}
|
||||
|
||||
public void setMargemHorizontalFolha(Float margemHorizontalFolha) {
|
||||
writeProperty("margemHorizontalFolha", margemHorizontalFolha);
|
||||
}
|
||||
public Float getMargemHorizontalFolha() {
|
||||
return (Float)readProperty("margemHorizontalFolha");
|
||||
}
|
||||
|
||||
public void setMargemVerticalFolha(Float margemVerticalFolha) {
|
||||
writeProperty("margemVerticalFolha", margemVerticalFolha);
|
||||
}
|
||||
public Float getMargemVerticalFolha() {
|
||||
return (Float)readProperty("margemVerticalFolha");
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,172 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Medicos;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresFichasAptidao;
|
||||
|
||||
/**
|
||||
* Class _Exames was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Exames extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String FO_PROPERTY = "fo";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String INACTIVO_PROPERTY = "inactivo";
|
||||
public static final String OCASIONAL_PROPERTY = "ocasional";
|
||||
public static final String OUTRA_FUNCAO1_PROPERTY = "outraFuncao1";
|
||||
public static final String OUTRA_FUNCAO2_PROPERTY = "outraFuncao2";
|
||||
public static final String OUTRA_FUNCAO3_PROPERTY = "outraFuncao3";
|
||||
public static final String OUTRA_FUNCAO4_PROPERTY = "outraFuncao4";
|
||||
public static final String OUTRAS_RECOMENDACOES_PROPERTY = "outrasRecomendacoes";
|
||||
public static final String OUTRO_TIPO_PROPERTY = "outroTipo";
|
||||
public static final String PDF_PROPERTY = "pdf";
|
||||
public static final String PROXIMO_EXAME_PROPERTY = "proximoExame";
|
||||
public static final String RESULTADO_PROPERTY = "resultado";
|
||||
public static final String TIPO_PROPERTY = "tipo";
|
||||
public static final String TRABALHADOR_ID_PROPERTY = "trabalhadorId";
|
||||
public static final String TO_MEDICOS_PROPERTY = "toMedicos";
|
||||
public static final String TRABALHADORES_FICHAS_APTIDAO_ARRAY_PROPERTY = "trabalhadoresFichasAptidaoArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setFo(byte[] fo) {
|
||||
writeProperty("fo", fo);
|
||||
}
|
||||
public byte[] getFo() {
|
||||
return (byte[])readProperty("fo");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setInactivo(String inactivo) {
|
||||
writeProperty("inactivo", inactivo);
|
||||
}
|
||||
public String getInactivo() {
|
||||
return (String)readProperty("inactivo");
|
||||
}
|
||||
|
||||
public void setOcasional(Integer ocasional) {
|
||||
writeProperty("ocasional", ocasional);
|
||||
}
|
||||
public Integer getOcasional() {
|
||||
return (Integer)readProperty("ocasional");
|
||||
}
|
||||
|
||||
public void setOutraFuncao1(String outraFuncao1) {
|
||||
writeProperty("outraFuncao1", outraFuncao1);
|
||||
}
|
||||
public String getOutraFuncao1() {
|
||||
return (String)readProperty("outraFuncao1");
|
||||
}
|
||||
|
||||
public void setOutraFuncao2(String outraFuncao2) {
|
||||
writeProperty("outraFuncao2", outraFuncao2);
|
||||
}
|
||||
public String getOutraFuncao2() {
|
||||
return (String)readProperty("outraFuncao2");
|
||||
}
|
||||
|
||||
public void setOutraFuncao3(String outraFuncao3) {
|
||||
writeProperty("outraFuncao3", outraFuncao3);
|
||||
}
|
||||
public String getOutraFuncao3() {
|
||||
return (String)readProperty("outraFuncao3");
|
||||
}
|
||||
|
||||
public void setOutraFuncao4(String outraFuncao4) {
|
||||
writeProperty("outraFuncao4", outraFuncao4);
|
||||
}
|
||||
public String getOutraFuncao4() {
|
||||
return (String)readProperty("outraFuncao4");
|
||||
}
|
||||
|
||||
public void setOutrasRecomendacoes(String outrasRecomendacoes) {
|
||||
writeProperty("outrasRecomendacoes", outrasRecomendacoes);
|
||||
}
|
||||
public String getOutrasRecomendacoes() {
|
||||
return (String)readProperty("outrasRecomendacoes");
|
||||
}
|
||||
|
||||
public void setOutroTipo(String outroTipo) {
|
||||
writeProperty("outroTipo", outroTipo);
|
||||
}
|
||||
public String getOutroTipo() {
|
||||
return (String)readProperty("outroTipo");
|
||||
}
|
||||
|
||||
public void setPdf(byte[] pdf) {
|
||||
writeProperty("pdf", pdf);
|
||||
}
|
||||
public byte[] getPdf() {
|
||||
return (byte[])readProperty("pdf");
|
||||
}
|
||||
|
||||
public void setProximoExame(Date proximoExame) {
|
||||
writeProperty("proximoExame", proximoExame);
|
||||
}
|
||||
public Date getProximoExame() {
|
||||
return (Date)readProperty("proximoExame");
|
||||
}
|
||||
|
||||
public void setResultado(Integer resultado) {
|
||||
writeProperty("resultado", resultado);
|
||||
}
|
||||
public Integer getResultado() {
|
||||
return (Integer)readProperty("resultado");
|
||||
}
|
||||
|
||||
public void setTipo(Integer tipo) {
|
||||
writeProperty("tipo", tipo);
|
||||
}
|
||||
public Integer getTipo() {
|
||||
return (Integer)readProperty("tipo");
|
||||
}
|
||||
|
||||
public void setTrabalhadorId(Integer trabalhadorId) {
|
||||
writeProperty("trabalhadorId", trabalhadorId);
|
||||
}
|
||||
public Integer getTrabalhadorId() {
|
||||
return (Integer)readProperty("trabalhadorId");
|
||||
}
|
||||
|
||||
public void setToMedicos(Medicos toMedicos) {
|
||||
setToOneTarget("toMedicos", toMedicos, true);
|
||||
}
|
||||
|
||||
public Medicos getToMedicos() {
|
||||
return (Medicos)readProperty("toMedicos");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresFichasAptidaoArray(TrabalhadoresFichasAptidao obj) {
|
||||
addToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresFichasAptidaoArray(TrabalhadoresFichasAptidao obj) {
|
||||
removeToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresFichasAptidao> getTrabalhadoresFichasAptidaoArray() {
|
||||
return (List<TrabalhadoresFichasAptidao>)readProperty("trabalhadoresFichasAptidaoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,51 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.TiposExamesComp;
|
||||
|
||||
/**
|
||||
* Class _ExamesPerfis was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _ExamesPerfis extends BaseObject {
|
||||
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String MULTIPLICADOR_PROPERTY = "multiplicador";
|
||||
public static final String PERFIL_PROPERTY = "perfil";
|
||||
public static final String TO_TIPOS_EXAMES_COMP_PROPERTY = "toTiposExamesComp";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setMultiplicador(Integer multiplicador) {
|
||||
writeProperty("multiplicador", multiplicador);
|
||||
}
|
||||
public Integer getMultiplicador() {
|
||||
return (Integer)readProperty("multiplicador");
|
||||
}
|
||||
|
||||
public void setPerfil(Integer perfil) {
|
||||
writeProperty("perfil", perfil);
|
||||
}
|
||||
public Integer getPerfil() {
|
||||
return (Integer)readProperty("perfil");
|
||||
}
|
||||
|
||||
public void setToTiposExamesComp(TiposExamesComp toTiposExamesComp) {
|
||||
setToOneTarget("toTiposExamesComp", toTiposExamesComp, true);
|
||||
}
|
||||
|
||||
public TiposExamesComp getToTiposExamesComp() {
|
||||
return (TiposExamesComp)readProperty("toTiposExamesComp");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,42 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
|
||||
/**
|
||||
* Class _ExamesPortaria was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _ExamesPortaria extends BaseObject {
|
||||
|
||||
public static final String DATA_ENTRADA_PROPERTY = "dataEntrada";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String PORTARIA_PROPERTY = "portaria";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDataEntrada(Date dataEntrada) {
|
||||
writeProperty("dataEntrada", dataEntrada);
|
||||
}
|
||||
public Date getDataEntrada() {
|
||||
return (Date)readProperty("dataEntrada");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setPortaria(String portaria) {
|
||||
writeProperty("portaria", portaria);
|
||||
}
|
||||
public String getPortaria() {
|
||||
return (String)readProperty("portaria");
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,53 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
|
||||
/**
|
||||
* Class _HistoricoEstabelecimento was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _HistoricoEstabelecimento extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TEXTO_PROPERTY = "texto";
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setTexto(String texto) {
|
||||
writeProperty("texto", texto);
|
||||
}
|
||||
public String getTexto() {
|
||||
return (String)readProperty("texto");
|
||||
}
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** Class _Ids was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Ids extends siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
}
|
||||
@ -1,49 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
|
||||
/**
|
||||
* Class _Image was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Image extends CayenneDataObject {
|
||||
|
||||
public static final String IMAGE_DATA_PROPERTY = "imageData";
|
||||
public static final String NAME_PROPERTY = "name";
|
||||
public static final String EMPRESAS_ARRAY_PROPERTY = "empresasArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setImageData(byte[] imageData) {
|
||||
writeProperty("imageData", imageData);
|
||||
}
|
||||
public byte[] getImageData() {
|
||||
return (byte[])readProperty("imageData");
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
writeProperty("name", name);
|
||||
}
|
||||
public String getName() {
|
||||
return (String)readProperty("name");
|
||||
}
|
||||
|
||||
public void addToEmpresasArray(Empresas obj) {
|
||||
addToManyTarget("empresasArray", obj, true);
|
||||
}
|
||||
public void removeFromEmpresasArray(Empresas obj) {
|
||||
removeToManyTarget("empresasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Empresas> getEmpresasArray() {
|
||||
return (List<Empresas>)readProperty("empresasArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,73 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.Legislacao;
|
||||
import siprp.database.cayenne.objects.LegislacaoEstabelecimento;
|
||||
|
||||
/**
|
||||
* Class _Legislacao was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Legislacao extends CayenneDataObject {
|
||||
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String PARENT_ID_PROPERTY = "parentID";
|
||||
public static final String CHILDREN_ARRAY_PROPERTY = "childrenArray";
|
||||
public static final String LEGISLACAO_ESTABELECIMENTO_ARRAY_PROPERTY = "legislacaoEstabelecimentoArray";
|
||||
public static final String TO_LEGISLACAO_PROPERTY = "toLegislacao";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void setParentID(Integer parentID) {
|
||||
writeProperty("parentID", parentID);
|
||||
}
|
||||
public Integer getParentID() {
|
||||
return (Integer)readProperty("parentID");
|
||||
}
|
||||
|
||||
public void addToChildrenArray(Legislacao obj) {
|
||||
addToManyTarget("childrenArray", obj, true);
|
||||
}
|
||||
public void removeFromChildrenArray(Legislacao obj) {
|
||||
removeToManyTarget("childrenArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Legislacao> getChildrenArray() {
|
||||
return (List<Legislacao>)readProperty("childrenArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToLegislacaoEstabelecimentoArray(LegislacaoEstabelecimento obj) {
|
||||
addToManyTarget("legislacaoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromLegislacaoEstabelecimentoArray(LegislacaoEstabelecimento obj) {
|
||||
removeToManyTarget("legislacaoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<LegislacaoEstabelecimento> getLegislacaoEstabelecimentoArray() {
|
||||
return (List<LegislacaoEstabelecimento>)readProperty("legislacaoEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToLegislacao(Legislacao toLegislacao) {
|
||||
setToOneTarget("toLegislacao", toLegislacao, true);
|
||||
}
|
||||
|
||||
public Legislacao getToLegislacao() {
|
||||
return (Legislacao)readProperty("toLegislacao");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,40 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.Legislacao;
|
||||
|
||||
/**
|
||||
* Class _LegislacaoEstabelecimento was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _LegislacaoEstabelecimento extends CayenneDataObject {
|
||||
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
public static final String TO_LEGISLACAO_PROPERTY = "toLegislacao";
|
||||
|
||||
public static final String ESTABELECIMENTO_ID_PK_COLUMN = "estabelecimento_id";
|
||||
public static final String LEGISLACAO_ID_PK_COLUMN = "legislacao_id";
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void setToLegislacao(Legislacao toLegislacao) {
|
||||
setToOneTarget("toLegislacao", toLegislacao, true);
|
||||
}
|
||||
|
||||
public Legislacao getToLegislacao() {
|
||||
return (Legislacao)readProperty("toLegislacao");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,148 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.LembretesTipos;
|
||||
import siprp.database.cayenne.objects.MarcacoesEstabelecimento;
|
||||
import siprp.database.cayenne.objects.MarcacoesTrabalhador;
|
||||
import siprp.database.cayenne.objects.Trabalhadores;
|
||||
|
||||
/**
|
||||
* Class _Lembretes was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Lembretes extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String ENVIAR_EMAIL_PROPERTY = "enviarEmail";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String PERIODICIDADE_DIAS_PROPERTY = "periodicidadeDias";
|
||||
public static final String PERIODICIDADE_MESES_PROPERTY = "periodicidadeMeses";
|
||||
public static final String TEXTO_PROPERTY = "texto";
|
||||
public static final String ULTIMO_ENVIO_PROPERTY = "ultimoEnvio";
|
||||
public static final String TO_EMPRESAS_PROPERTY = "toEmpresas";
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
public static final String TO_LEMBRETES_TIPOS_PROPERTY = "toLembretesTipos";
|
||||
public static final String TO_MARCACOES_ESTABELECIMENTO_PROPERTY = "toMarcacoesEstabelecimento";
|
||||
public static final String TO_MARCACOES_TRABALHADOR_PROPERTY = "toMarcacoesTrabalhador";
|
||||
public static final String TO_TRABALHADORES_PROPERTY = "toTrabalhadores";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setEnviarEmail(String enviarEmail) {
|
||||
writeProperty("enviarEmail", enviarEmail);
|
||||
}
|
||||
public String getEnviarEmail() {
|
||||
return (String)readProperty("enviarEmail");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setPeriodicidadeDias(Integer periodicidadeDias) {
|
||||
writeProperty("periodicidadeDias", periodicidadeDias);
|
||||
}
|
||||
public Integer getPeriodicidadeDias() {
|
||||
return (Integer)readProperty("periodicidadeDias");
|
||||
}
|
||||
|
||||
public void setPeriodicidadeMeses(Integer periodicidadeMeses) {
|
||||
writeProperty("periodicidadeMeses", periodicidadeMeses);
|
||||
}
|
||||
public Integer getPeriodicidadeMeses() {
|
||||
return (Integer)readProperty("periodicidadeMeses");
|
||||
}
|
||||
|
||||
public void setTexto(String texto) {
|
||||
writeProperty("texto", texto);
|
||||
}
|
||||
public String getTexto() {
|
||||
return (String)readProperty("texto");
|
||||
}
|
||||
|
||||
public void setUltimoEnvio(Date ultimoEnvio) {
|
||||
writeProperty("ultimoEnvio", ultimoEnvio);
|
||||
}
|
||||
public Date getUltimoEnvio() {
|
||||
return (Date)readProperty("ultimoEnvio");
|
||||
}
|
||||
|
||||
public void setToEmpresas(Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public Empresas getToEmpresas() {
|
||||
return (Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void setToLembretesTipos(LembretesTipos toLembretesTipos) {
|
||||
setToOneTarget("toLembretesTipos", toLembretesTipos, true);
|
||||
}
|
||||
|
||||
public LembretesTipos getToLembretesTipos() {
|
||||
return (LembretesTipos)readProperty("toLembretesTipos");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesEstabelecimento(MarcacoesEstabelecimento toMarcacoesEstabelecimento) {
|
||||
setToOneTarget("toMarcacoesEstabelecimento", toMarcacoesEstabelecimento, true);
|
||||
}
|
||||
|
||||
public MarcacoesEstabelecimento getToMarcacoesEstabelecimento() {
|
||||
return (MarcacoesEstabelecimento)readProperty("toMarcacoesEstabelecimento");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTrabalhador(MarcacoesTrabalhador toMarcacoesTrabalhador) {
|
||||
setToOneTarget("toMarcacoesTrabalhador", toMarcacoesTrabalhador, true);
|
||||
}
|
||||
|
||||
public MarcacoesTrabalhador getToMarcacoesTrabalhador() {
|
||||
return (MarcacoesTrabalhador)readProperty("toMarcacoesTrabalhador");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadores(Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public Trabalhadores getToTrabalhadores() {
|
||||
return (Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,72 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Lembretes;
|
||||
|
||||
/**
|
||||
* Class _LembretesTipos was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _LembretesTipos extends BaseObject {
|
||||
|
||||
public static final String ACTIVO_PROPERTY = "activo";
|
||||
public static final String CODIGO_PROPERTY = "codigo";
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String ORDEM_PROPERTY = "ordem";
|
||||
public static final String LEMBRETES_ARRAY_PROPERTY = "lembretesArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setActivo(String activo) {
|
||||
writeProperty("activo", activo);
|
||||
}
|
||||
public String getActivo() {
|
||||
return (String)readProperty("activo");
|
||||
}
|
||||
|
||||
public void setCodigo(String codigo) {
|
||||
writeProperty("codigo", codigo);
|
||||
}
|
||||
public String getCodigo() {
|
||||
return (String)readProperty("codigo");
|
||||
}
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
public void addToLembretesArray(Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Lembretes> getLembretesArray() {
|
||||
return (List<Lembretes>)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,61 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
|
||||
/**
|
||||
* Class _MarcacoesEmpresa was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _MarcacoesEmpresa extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String REALIZADA_PROPERTY = "realizada";
|
||||
public static final String TEXTO_PROPERTY = "texto";
|
||||
public static final String TO_EMPRESAS_PROPERTY = "toEmpresas";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setRealizada(String realizada) {
|
||||
writeProperty("realizada", realizada);
|
||||
}
|
||||
public String getRealizada() {
|
||||
return (String)readProperty("realizada");
|
||||
}
|
||||
|
||||
public void setTexto(String texto) {
|
||||
writeProperty("texto", texto);
|
||||
}
|
||||
public String getTexto() {
|
||||
return (String)readProperty("texto");
|
||||
}
|
||||
|
||||
public void setToEmpresas(Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public Empresas getToEmpresas() {
|
||||
return (Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,111 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.Lembretes;
|
||||
import siprp.database.cayenne.objects.MarcacoesTecnicosHst;
|
||||
|
||||
/**
|
||||
* Class _MarcacoesEstabelecimento was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _MarcacoesEstabelecimento extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String DATA_EMAIL_PROPERTY = "dataEmail";
|
||||
public static final String DATA_RELATORIO_PROPERTY = "dataRelatorio";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String OBSERVACOES_PROPERTY = "observacoes";
|
||||
public static final String REALIZADA_PROPERTY = "realizada";
|
||||
public static final String LEMBRETES_ARRAY_PROPERTY = "lembretesArray";
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
public static final String TO_MARCACOES_TECNICOS_HST_PROPERTY = "toMarcacoesTecnicosHst";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setDataEmail(Date dataEmail) {
|
||||
writeProperty("dataEmail", dataEmail);
|
||||
}
|
||||
public Date getDataEmail() {
|
||||
return (Date)readProperty("dataEmail");
|
||||
}
|
||||
|
||||
public void setDataRelatorio(Date dataRelatorio) {
|
||||
writeProperty("dataRelatorio", dataRelatorio);
|
||||
}
|
||||
public Date getDataRelatorio() {
|
||||
return (Date)readProperty("dataRelatorio");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setObservacoes(String observacoes) {
|
||||
writeProperty("observacoes", observacoes);
|
||||
}
|
||||
public String getObservacoes() {
|
||||
return (String)readProperty("observacoes");
|
||||
}
|
||||
|
||||
public void setRealizada(String realizada) {
|
||||
writeProperty("realizada", realizada);
|
||||
}
|
||||
public String getRealizada() {
|
||||
return (String)readProperty("realizada");
|
||||
}
|
||||
|
||||
public void addToLembretesArray(Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Lembretes> getLembretesArray() {
|
||||
return (List<Lembretes>)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTecnicosHst(MarcacoesTecnicosHst toMarcacoesTecnicosHst) {
|
||||
setToOneTarget("toMarcacoesTecnicosHst", toMarcacoesTecnicosHst, true);
|
||||
}
|
||||
|
||||
public MarcacoesTecnicosHst getToMarcacoesTecnicosHst() {
|
||||
return (MarcacoesTecnicosHst)readProperty("toMarcacoesTecnicosHst");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,49 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.MarcacoesTrabalhador;
|
||||
import siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados;
|
||||
import siprp.database.cayenne.objects.PrtGruposProtocolo;
|
||||
|
||||
/**
|
||||
* Class _MarcacoesGruposRealizados was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _MarcacoesGruposRealizados extends BaseObject {
|
||||
|
||||
public static final String TO_MARCACOES_TRABALHADOR_PROPERTY = "toMarcacoesTrabalhador";
|
||||
public static final String TO_MARCACOES_TRABALHADOR_ESTADOS_PROPERTY = "toMarcacoesTrabalhadorEstados";
|
||||
public static final String TO_PRT_GRUPOS_PROTOCOLO_PROPERTY = "toPrtGruposProtocolo";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setToMarcacoesTrabalhador(MarcacoesTrabalhador toMarcacoesTrabalhador) {
|
||||
setToOneTarget("toMarcacoesTrabalhador", toMarcacoesTrabalhador, true);
|
||||
}
|
||||
|
||||
public MarcacoesTrabalhador getToMarcacoesTrabalhador() {
|
||||
return (MarcacoesTrabalhador)readProperty("toMarcacoesTrabalhador");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTrabalhadorEstados(MarcacoesTrabalhadorEstados toMarcacoesTrabalhadorEstados) {
|
||||
setToOneTarget("toMarcacoesTrabalhadorEstados", toMarcacoesTrabalhadorEstados, true);
|
||||
}
|
||||
|
||||
public MarcacoesTrabalhadorEstados getToMarcacoesTrabalhadorEstados() {
|
||||
return (MarcacoesTrabalhadorEstados)readProperty("toMarcacoesTrabalhadorEstados");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtGruposProtocolo(PrtGruposProtocolo toPrtGruposProtocolo) {
|
||||
setToOneTarget("toPrtGruposProtocolo", toPrtGruposProtocolo, true);
|
||||
}
|
||||
|
||||
public PrtGruposProtocolo getToPrtGruposProtocolo() {
|
||||
return (PrtGruposProtocolo)readProperty("toPrtGruposProtocolo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,80 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.MarcacoesEstabelecimento;
|
||||
|
||||
/**
|
||||
* Class _MarcacoesTecnicosHst was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _MarcacoesTecnicosHst extends BaseObject {
|
||||
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String IDENTIFICADOR_PROPERTY = "identificador";
|
||||
public static final String INACTIVO_PROPERTY = "inactivo";
|
||||
public static final String INICIAIS_PROPERTY = "iniciais";
|
||||
public static final String NOME_PROPERTY = "nome";
|
||||
public static final String NOME_PLAIN_PROPERTY = "nomePlain";
|
||||
public static final String MARCACOES_ESTABELECIMENTO_ARRAY_PROPERTY = "marcacoesEstabelecimentoArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setIdentificador(Integer identificador) {
|
||||
writeProperty("identificador", identificador);
|
||||
}
|
||||
public Integer getIdentificador() {
|
||||
return (Integer)readProperty("identificador");
|
||||
}
|
||||
|
||||
public void setInactivo(String inactivo) {
|
||||
writeProperty("inactivo", inactivo);
|
||||
}
|
||||
public String getInactivo() {
|
||||
return (String)readProperty("inactivo");
|
||||
}
|
||||
|
||||
public void setIniciais(String iniciais) {
|
||||
writeProperty("iniciais", iniciais);
|
||||
}
|
||||
public String getIniciais() {
|
||||
return (String)readProperty("iniciais");
|
||||
}
|
||||
|
||||
public void setNome(String nome) {
|
||||
writeProperty("nome", nome);
|
||||
}
|
||||
public String getNome() {
|
||||
return (String)readProperty("nome");
|
||||
}
|
||||
|
||||
public void setNomePlain(String nomePlain) {
|
||||
writeProperty("nomePlain", nomePlain);
|
||||
}
|
||||
public String getNomePlain() {
|
||||
return (String)readProperty("nomePlain");
|
||||
}
|
||||
|
||||
public void addToMarcacoesEstabelecimentoArray(MarcacoesEstabelecimento obj) {
|
||||
addToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesEstabelecimentoArray(MarcacoesEstabelecimento obj) {
|
||||
removeToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesEstabelecimento> getMarcacoesEstabelecimentoArray() {
|
||||
return (List<MarcacoesEstabelecimento>)readProperty("marcacoesEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,152 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Lembretes;
|
||||
import siprp.database.cayenne.objects.MarcacoesGruposRealizados;
|
||||
import siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
|
||||
/**
|
||||
* Class _MarcacoesTrabalhador was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _MarcacoesTrabalhador extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String DATA_EMAIL_PROPERTY = "dataEmail";
|
||||
public static final String DATA_RELATORIO_PROPERTY = "dataRelatorio";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String MOTIVO_PROPERTY = "motivo";
|
||||
public static final String OBSERVACOES_PROPERTY = "observacoes";
|
||||
public static final String REALIZADA_PROPERTY = "realizada";
|
||||
public static final String TIPO_PROPERTY = "tipo";
|
||||
public static final String TRABALHADOR_ID_PROPERTY = "trabalhadorId";
|
||||
public static final String LEMBRETES_ARRAY_PROPERTY = "lembretesArray";
|
||||
public static final String MARCACOES_GRUPOS_REALIZADOS_ARRAY_PROPERTY = "marcacoesGruposRealizadosArray";
|
||||
public static final String MARCACOES_TRABALHADOR_ESTADOS_ARRAY_PROPERTY = "marcacoesTrabalhadorEstadosArray";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setDataEmail(Date dataEmail) {
|
||||
writeProperty("dataEmail", dataEmail);
|
||||
}
|
||||
public Date getDataEmail() {
|
||||
return (Date)readProperty("dataEmail");
|
||||
}
|
||||
|
||||
public void setDataRelatorio(Date dataRelatorio) {
|
||||
writeProperty("dataRelatorio", dataRelatorio);
|
||||
}
|
||||
public Date getDataRelatorio() {
|
||||
return (Date)readProperty("dataRelatorio");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setMotivo(Integer motivo) {
|
||||
writeProperty("motivo", motivo);
|
||||
}
|
||||
public Integer getMotivo() {
|
||||
return (Integer)readProperty("motivo");
|
||||
}
|
||||
|
||||
public void setObservacoes(String observacoes) {
|
||||
writeProperty("observacoes", observacoes);
|
||||
}
|
||||
public String getObservacoes() {
|
||||
return (String)readProperty("observacoes");
|
||||
}
|
||||
|
||||
public void setRealizada(String realizada) {
|
||||
writeProperty("realizada", realizada);
|
||||
}
|
||||
public String getRealizada() {
|
||||
return (String)readProperty("realizada");
|
||||
}
|
||||
|
||||
public void setTipo(Integer tipo) {
|
||||
writeProperty("tipo", tipo);
|
||||
}
|
||||
public Integer getTipo() {
|
||||
return (Integer)readProperty("tipo");
|
||||
}
|
||||
|
||||
public void setTrabalhadorId(Integer trabalhadorId) {
|
||||
writeProperty("trabalhadorId", trabalhadorId);
|
||||
}
|
||||
public Integer getTrabalhadorId() {
|
||||
return (Integer)readProperty("trabalhadorId");
|
||||
}
|
||||
|
||||
public void addToLembretesArray(Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Lembretes> getLembretesArray() {
|
||||
return (List<Lembretes>)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesGruposRealizadosArray(MarcacoesGruposRealizados obj) {
|
||||
addToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesGruposRealizadosArray(MarcacoesGruposRealizados obj) {
|
||||
removeToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesGruposRealizados> getMarcacoesGruposRealizadosArray() {
|
||||
return (List<MarcacoesGruposRealizados>)readProperty("marcacoesGruposRealizadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesTrabalhadorEstadosArray(MarcacoesTrabalhadorEstados obj) {
|
||||
addToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesTrabalhadorEstadosArray(MarcacoesTrabalhadorEstados obj) {
|
||||
removeToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesTrabalhadorEstados> getMarcacoesTrabalhadorEstadosArray() {
|
||||
return (List<MarcacoesTrabalhadorEstados>)readProperty("marcacoesTrabalhadorEstadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,79 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.MarcacoesGruposRealizados;
|
||||
import siprp.database.cayenne.objects.MarcacoesTrabalhador;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
|
||||
/**
|
||||
* Class _MarcacoesTrabalhadorEstados was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _MarcacoesTrabalhadorEstados extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String MARCACOES_GRUPOS_REALIZADOS_ARRAY_PROPERTY = "marcacoesGruposRealizadosArray";
|
||||
public static final String TO_MARCACOES_TRABALHADOR_PROPERTY = "toMarcacoesTrabalhador";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void addToMarcacoesGruposRealizadosArray(MarcacoesGruposRealizados obj) {
|
||||
addToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesGruposRealizadosArray(MarcacoesGruposRealizados obj) {
|
||||
removeToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesGruposRealizados> getMarcacoesGruposRealizadosArray() {
|
||||
return (List<MarcacoesGruposRealizados>)readProperty("marcacoesGruposRealizadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTrabalhador(MarcacoesTrabalhador toMarcacoesTrabalhador) {
|
||||
setToOneTarget("toMarcacoesTrabalhador", toMarcacoesTrabalhador, true);
|
||||
}
|
||||
|
||||
public MarcacoesTrabalhador getToMarcacoesTrabalhador() {
|
||||
return (MarcacoesTrabalhador)readProperty("toMarcacoesTrabalhador");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,78 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.Exames;
|
||||
|
||||
/**
|
||||
* Class _Medicos was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Medicos extends BaseObject {
|
||||
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String INACTIVO_PROPERTY = "inactivo";
|
||||
public static final String NOME_PROPERTY = "nome";
|
||||
public static final String NUMERO_CEDULA_PROPERTY = "numeroCedula";
|
||||
public static final String ESTABELECIMENTOS_ARRAY_PROPERTY = "estabelecimentosArray";
|
||||
public static final String EXAMES_ARRAY_PROPERTY = "examesArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setInactivo(String inactivo) {
|
||||
writeProperty("inactivo", inactivo);
|
||||
}
|
||||
public String getInactivo() {
|
||||
return (String)readProperty("inactivo");
|
||||
}
|
||||
|
||||
public void setNome(String nome) {
|
||||
writeProperty("nome", nome);
|
||||
}
|
||||
public String getNome() {
|
||||
return (String)readProperty("nome");
|
||||
}
|
||||
|
||||
public void setNumeroCedula(String numeroCedula) {
|
||||
writeProperty("numeroCedula", numeroCedula);
|
||||
}
|
||||
public String getNumeroCedula() {
|
||||
return (String)readProperty("numeroCedula");
|
||||
}
|
||||
|
||||
public void addToEstabelecimentosArray(Estabelecimentos obj) {
|
||||
addToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public void removeFromEstabelecimentosArray(Estabelecimentos obj) {
|
||||
removeToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Estabelecimentos> getEstabelecimentosArray() {
|
||||
return (List<Estabelecimentos>)readProperty("estabelecimentosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToExamesArray(Exames obj) {
|
||||
addToManyTarget("examesArray", obj, true);
|
||||
}
|
||||
public void removeFromExamesArray(Exames obj) {
|
||||
removeToManyTarget("examesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Exames> getExamesArray() {
|
||||
return (List<Exames>)readProperty("examesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,41 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.RiscoMedida;
|
||||
|
||||
/**
|
||||
* Class _Medida was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Medida extends CayenneDataObject {
|
||||
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String RISCO_MEDIDA_ARRAY_PROPERTY = "riscoMedidaArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void addToRiscoMedidaArray(RiscoMedida obj) {
|
||||
addToManyTarget("riscoMedidaArray", obj, true);
|
||||
}
|
||||
public void removeFromRiscoMedidaArray(RiscoMedida obj) {
|
||||
removeToManyTarget("riscoMedidaArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<RiscoMedida> getRiscoMedidaArray() {
|
||||
return (List<RiscoMedida>)readProperty("riscoMedidaArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,41 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.PostoDeTrabalhoEstabelecimento;
|
||||
|
||||
/**
|
||||
* Class _PostoDeTrabalho was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _PostoDeTrabalho extends CayenneDataObject {
|
||||
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String POSTO_DE_TRABALHO_ESTABELECIMENTO_ARRAY_PROPERTY = "postoDeTrabalhoEstabelecimentoArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void addToPostoDeTrabalhoEstabelecimentoArray(PostoDeTrabalhoEstabelecimento obj) {
|
||||
addToManyTarget("postoDeTrabalhoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromPostoDeTrabalhoEstabelecimentoArray(PostoDeTrabalhoEstabelecimento obj) {
|
||||
removeToManyTarget("postoDeTrabalhoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PostoDeTrabalhoEstabelecimento> getPostoDeTrabalhoEstabelecimentoArray() {
|
||||
return (List<PostoDeTrabalhoEstabelecimento>)readProperty("postoDeTrabalhoEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,40 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.PostoDeTrabalho;
|
||||
|
||||
/**
|
||||
* Class _PostoDeTrabalhoEstabelecimento was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _PostoDeTrabalhoEstabelecimento extends CayenneDataObject {
|
||||
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
public static final String TO_POSTO_DE_TRABALHO_PROPERTY = "toPostoDeTrabalho";
|
||||
|
||||
public static final String ESTABELECIMENTO_ID_PK_COLUMN = "estabelecimento_id";
|
||||
public static final String POSTO_DE_TRABALHO_ID_PK_COLUMN = "posto_de_trabalho_id";
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void setToPostoDeTrabalho(PostoDeTrabalho toPostoDeTrabalho) {
|
||||
setToOneTarget("toPostoDeTrabalho", toPostoDeTrabalho, true);
|
||||
}
|
||||
|
||||
public PostoDeTrabalho getToPostoDeTrabalho() {
|
||||
return (PostoDeTrabalho)readProperty("toPostoDeTrabalho");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,264 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Contactos;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.MarcacoesTrabalhador;
|
||||
import siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados;
|
||||
import siprp.database.cayenne.objects.PrestadoresGruposProtocolo;
|
||||
import siprp.database.cayenne.objects.PrtGruposProtocolo;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultas;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultasDatas;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcd;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcdsDatas;
|
||||
|
||||
/**
|
||||
* Class _Prestadores was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Prestadores extends BaseObject {
|
||||
|
||||
public static final String ACTIVO_PROPERTY = "activo";
|
||||
public static final String CODIGO_POSTAL_PROPERTY = "codigoPostal";
|
||||
public static final String CONTRIBUINTE_PROPERTY = "contribuinte";
|
||||
public static final String FAZ_CONSULTAS_PROPERTY = "fazConsultas";
|
||||
public static final String FAZ_ECDS_PROPERTY = "fazEcds";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String LOCALIDADE_PROPERTY = "localidade";
|
||||
public static final String LOCALIDADE_CP_PROPERTY = "localidadeCp";
|
||||
public static final String MORADA_PROPERTY = "morada";
|
||||
public static final String NOME_PROPERTY = "nome";
|
||||
public static final String NOME_PLAIN_PROPERTY = "nomePlain";
|
||||
public static final String OBSERVACOES_PROPERTY = "observacoes";
|
||||
public static final String ESTABELECIMENTOS_ARRAY_PROPERTY = "estabelecimentosArray";
|
||||
public static final String ESTABELECIMENTOS_ARRAY1_PROPERTY = "estabelecimentosArray1";
|
||||
public static final String MARCACOES_TRABALHADOR_ARRAY_PROPERTY = "marcacoesTrabalhadorArray";
|
||||
public static final String MARCACOES_TRABALHADOR_ESTADOS_ARRAY_PROPERTY = "marcacoesTrabalhadorEstadosArray";
|
||||
public static final String PRESTADORES_GRUPOS_PROTOCOLO_ARRAY_PROPERTY = "prestadoresGruposProtocoloArray";
|
||||
public static final String PRT_GRUPOS_PROTOCOLO_ARRAY_PROPERTY = "prtGruposProtocoloArray";
|
||||
public static final String TO_CONTACTOS_PROPERTY = "toContactos";
|
||||
public static final String TRABALHADORES_CONSULTAS_ARRAY_PROPERTY = "trabalhadoresConsultasArray";
|
||||
public static final String TRABALHADORES_CONSULTAS_DATAS_ARRAY_PROPERTY = "trabalhadoresConsultasDatasArray";
|
||||
public static final String TRABALHADORES_ECD_ARRAY_PROPERTY = "trabalhadoresEcdArray";
|
||||
public static final String TRABALHADORES_ECDS_DATAS_ARRAY_PROPERTY = "trabalhadoresEcdsDatasArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setActivo(String activo) {
|
||||
writeProperty("activo", activo);
|
||||
}
|
||||
public String getActivo() {
|
||||
return (String)readProperty("activo");
|
||||
}
|
||||
|
||||
public void setCodigoPostal(String codigoPostal) {
|
||||
writeProperty("codigoPostal", codigoPostal);
|
||||
}
|
||||
public String getCodigoPostal() {
|
||||
return (String)readProperty("codigoPostal");
|
||||
}
|
||||
|
||||
public void setContribuinte(String contribuinte) {
|
||||
writeProperty("contribuinte", contribuinte);
|
||||
}
|
||||
public String getContribuinte() {
|
||||
return (String)readProperty("contribuinte");
|
||||
}
|
||||
|
||||
public void setFazConsultas(String fazConsultas) {
|
||||
writeProperty("fazConsultas", fazConsultas);
|
||||
}
|
||||
public String getFazConsultas() {
|
||||
return (String)readProperty("fazConsultas");
|
||||
}
|
||||
|
||||
public void setFazEcds(String fazEcds) {
|
||||
writeProperty("fazEcds", fazEcds);
|
||||
}
|
||||
public String getFazEcds() {
|
||||
return (String)readProperty("fazEcds");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setLocalidade(String localidade) {
|
||||
writeProperty("localidade", localidade);
|
||||
}
|
||||
public String getLocalidade() {
|
||||
return (String)readProperty("localidade");
|
||||
}
|
||||
|
||||
public void setLocalidadeCp(String localidadeCp) {
|
||||
writeProperty("localidadeCp", localidadeCp);
|
||||
}
|
||||
public String getLocalidadeCp() {
|
||||
return (String)readProperty("localidadeCp");
|
||||
}
|
||||
|
||||
public void setMorada(String morada) {
|
||||
writeProperty("morada", morada);
|
||||
}
|
||||
public String getMorada() {
|
||||
return (String)readProperty("morada");
|
||||
}
|
||||
|
||||
public void setNome(String nome) {
|
||||
writeProperty("nome", nome);
|
||||
}
|
||||
public String getNome() {
|
||||
return (String)readProperty("nome");
|
||||
}
|
||||
|
||||
public void setNomePlain(String nomePlain) {
|
||||
writeProperty("nomePlain", nomePlain);
|
||||
}
|
||||
public String getNomePlain() {
|
||||
return (String)readProperty("nomePlain");
|
||||
}
|
||||
|
||||
public void setObservacoes(String observacoes) {
|
||||
writeProperty("observacoes", observacoes);
|
||||
}
|
||||
public String getObservacoes() {
|
||||
return (String)readProperty("observacoes");
|
||||
}
|
||||
|
||||
public void addToEstabelecimentosArray(Estabelecimentos obj) {
|
||||
addToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public void removeFromEstabelecimentosArray(Estabelecimentos obj) {
|
||||
removeToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Estabelecimentos> getEstabelecimentosArray() {
|
||||
return (List<Estabelecimentos>)readProperty("estabelecimentosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToEstabelecimentosArray1(Estabelecimentos obj) {
|
||||
addToManyTarget("estabelecimentosArray1", obj, true);
|
||||
}
|
||||
public void removeFromEstabelecimentosArray1(Estabelecimentos obj) {
|
||||
removeToManyTarget("estabelecimentosArray1", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Estabelecimentos> getEstabelecimentosArray1() {
|
||||
return (List<Estabelecimentos>)readProperty("estabelecimentosArray1");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesTrabalhadorArray(MarcacoesTrabalhador obj) {
|
||||
addToManyTarget("marcacoesTrabalhadorArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesTrabalhadorArray(MarcacoesTrabalhador obj) {
|
||||
removeToManyTarget("marcacoesTrabalhadorArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesTrabalhador> getMarcacoesTrabalhadorArray() {
|
||||
return (List<MarcacoesTrabalhador>)readProperty("marcacoesTrabalhadorArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesTrabalhadorEstadosArray(MarcacoesTrabalhadorEstados obj) {
|
||||
addToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesTrabalhadorEstadosArray(MarcacoesTrabalhadorEstados obj) {
|
||||
removeToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesTrabalhadorEstados> getMarcacoesTrabalhadorEstadosArray() {
|
||||
return (List<MarcacoesTrabalhadorEstados>)readProperty("marcacoesTrabalhadorEstadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrestadoresGruposProtocoloArray(PrestadoresGruposProtocolo obj) {
|
||||
addToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrestadoresGruposProtocoloArray(PrestadoresGruposProtocolo obj) {
|
||||
removeToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PrestadoresGruposProtocolo> getPrestadoresGruposProtocoloArray() {
|
||||
return (List<PrestadoresGruposProtocolo>)readProperty("prestadoresGruposProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrtGruposProtocoloArray(PrtGruposProtocolo obj) {
|
||||
addToManyTarget("prtGruposProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrtGruposProtocoloArray(PrtGruposProtocolo obj) {
|
||||
removeToManyTarget("prtGruposProtocoloArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PrtGruposProtocolo> getPrtGruposProtocoloArray() {
|
||||
return (List<PrtGruposProtocolo>)readProperty("prtGruposProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToContactos(Contactos toContactos) {
|
||||
setToOneTarget("toContactos", toContactos, true);
|
||||
}
|
||||
|
||||
public Contactos getToContactos() {
|
||||
return (Contactos)readProperty("toContactos");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasArray(TrabalhadoresConsultas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasArray(TrabalhadoresConsultas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresConsultas> getTrabalhadoresConsultasArray() {
|
||||
return (List<TrabalhadoresConsultas>)readProperty("trabalhadoresConsultasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasArray(TrabalhadoresConsultasDatas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasArray(TrabalhadoresConsultasDatas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresConsultasDatas> getTrabalhadoresConsultasDatasArray() {
|
||||
return (List<TrabalhadoresConsultasDatas>)readProperty("trabalhadoresConsultasDatasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcd> getTrabalhadoresEcdArray() {
|
||||
return (List<TrabalhadoresEcd>)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasArray(TrabalhadoresEcdsDatas obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasArray(TrabalhadoresEcdsDatas obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcdsDatas> getTrabalhadoresEcdsDatasArray() {
|
||||
return (List<TrabalhadoresEcdsDatas>)readProperty("trabalhadoresEcdsDatasArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,38 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.PrtGruposProtocolo;
|
||||
|
||||
/**
|
||||
* Class _PrestadoresGruposProtocolo was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _PrestadoresGruposProtocolo extends BaseObject {
|
||||
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
public static final String TO_PRT_GRUPOS_PROTOCOLO_PROPERTY = "toPrtGruposProtocolo";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtGruposProtocolo(PrtGruposProtocolo toPrtGruposProtocolo) {
|
||||
setToOneTarget("toPrtGruposProtocolo", toPrtGruposProtocolo, true);
|
||||
}
|
||||
|
||||
public PrtGruposProtocolo getToPrtGruposProtocolo() {
|
||||
return (PrtGruposProtocolo)readProperty("toPrtGruposProtocolo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,54 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
import siprp.database.cayenne.objects.PrtTiposElementosProtocolo;
|
||||
|
||||
/**
|
||||
* Class _PrtElementosProtocolo was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _PrtElementosProtocolo extends BaseObject {
|
||||
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String NUMERO_PERFIL_PROPERTY = "numeroPerfil";
|
||||
public static final String TO_EMPRESAS_PROPERTY = "toEmpresas";
|
||||
public static final String TO_PRT_TIPOS_ELEMENTOS_PROTOCOLO_PROPERTY = "toPrtTiposElementosProtocolo";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setNumeroPerfil(Integer numeroPerfil) {
|
||||
writeProperty("numeroPerfil", numeroPerfil);
|
||||
}
|
||||
public Integer getNumeroPerfil() {
|
||||
return (Integer)readProperty("numeroPerfil");
|
||||
}
|
||||
|
||||
public void setToEmpresas(Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public Empresas getToEmpresas() {
|
||||
return (Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtTiposElementosProtocolo(PrtTiposElementosProtocolo toPrtTiposElementosProtocolo) {
|
||||
setToOneTarget("toPrtTiposElementosProtocolo", toPrtTiposElementosProtocolo, true);
|
||||
}
|
||||
|
||||
public PrtTiposElementosProtocolo getToPrtTiposElementosProtocolo() {
|
||||
return (PrtTiposElementosProtocolo)readProperty("toPrtTiposElementosProtocolo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,111 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.MarcacoesGruposRealizados;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.PrestadoresGruposProtocolo;
|
||||
import siprp.database.cayenne.objects.PrtTiposElementosProtocolo;
|
||||
|
||||
/**
|
||||
* Class _PrtGruposProtocolo was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _PrtGruposProtocolo extends BaseObject {
|
||||
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String DESCRICAO_PLAIN_PROPERTY = "descricaoPlain";
|
||||
public static final String GRUPO_REAL_PROPERTY = "grupoReal";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String ORDEM_PROPERTY = "ordem";
|
||||
public static final String MARCACOES_GRUPOS_REALIZADOS_ARRAY_PROPERTY = "marcacoesGruposRealizadosArray";
|
||||
public static final String PRESTADORES_GRUPOS_PROTOCOLO_ARRAY_PROPERTY = "prestadoresGruposProtocoloArray";
|
||||
public static final String PRT_TIPOS_ELEMENTOS_PROTOCOLO_ARRAY_PROPERTY = "prtTiposElementosProtocoloArray";
|
||||
public static final String TO_ANALISADOR_PROPERTY = "toAnalisador";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setDescricaoPlain(String descricaoPlain) {
|
||||
writeProperty("descricaoPlain", descricaoPlain);
|
||||
}
|
||||
public String getDescricaoPlain() {
|
||||
return (String)readProperty("descricaoPlain");
|
||||
}
|
||||
|
||||
public void setGrupoReal(String grupoReal) {
|
||||
writeProperty("grupoReal", grupoReal);
|
||||
}
|
||||
public String getGrupoReal() {
|
||||
return (String)readProperty("grupoReal");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
public void addToMarcacoesGruposRealizadosArray(MarcacoesGruposRealizados obj) {
|
||||
addToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesGruposRealizadosArray(MarcacoesGruposRealizados obj) {
|
||||
removeToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<MarcacoesGruposRealizados> getMarcacoesGruposRealizadosArray() {
|
||||
return (List<MarcacoesGruposRealizados>)readProperty("marcacoesGruposRealizadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrestadoresGruposProtocoloArray(PrestadoresGruposProtocolo obj) {
|
||||
addToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrestadoresGruposProtocoloArray(PrestadoresGruposProtocolo obj) {
|
||||
removeToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PrestadoresGruposProtocolo> getPrestadoresGruposProtocoloArray() {
|
||||
return (List<PrestadoresGruposProtocolo>)readProperty("prestadoresGruposProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrtTiposElementosProtocoloArray(PrtTiposElementosProtocolo obj) {
|
||||
addToManyTarget("prtTiposElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrtTiposElementosProtocoloArray(PrtTiposElementosProtocolo obj) {
|
||||
removeToManyTarget("prtTiposElementosProtocoloArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PrtTiposElementosProtocolo> getPrtTiposElementosProtocoloArray() {
|
||||
return (List<PrtTiposElementosProtocolo>)readProperty("prtTiposElementosProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToAnalisador(Prestadores toAnalisador) {
|
||||
setToOneTarget("toAnalisador", toAnalisador, true);
|
||||
}
|
||||
|
||||
public Prestadores getToAnalisador() {
|
||||
return (Prestadores)readProperty("toAnalisador");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,89 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.PrtElementosProtocolo;
|
||||
import siprp.database.cayenne.objects.PrtGruposProtocolo;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcd;
|
||||
|
||||
/**
|
||||
* Class _PrtTiposElementosProtocolo was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _PrtTiposElementosProtocolo extends BaseObject {
|
||||
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String DESCRICAO_PLAIN_PROPERTY = "descricaoPlain";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String ORDEM_PROPERTY = "ordem";
|
||||
public static final String PRT_ELEMENTOS_PROTOCOLO_ARRAY_PROPERTY = "prtElementosProtocoloArray";
|
||||
public static final String TO_PRT_GRUPOS_PROTOCOLO_PROPERTY = "toPrtGruposProtocolo";
|
||||
public static final String TRABALHADORES_ECD_ARRAY_PROPERTY = "trabalhadoresEcdArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setDescricaoPlain(String descricaoPlain) {
|
||||
writeProperty("descricaoPlain", descricaoPlain);
|
||||
}
|
||||
public String getDescricaoPlain() {
|
||||
return (String)readProperty("descricaoPlain");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
public void addToPrtElementosProtocoloArray(PrtElementosProtocolo obj) {
|
||||
addToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrtElementosProtocoloArray(PrtElementosProtocolo obj) {
|
||||
removeToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<PrtElementosProtocolo> getPrtElementosProtocoloArray() {
|
||||
return (List<PrtElementosProtocolo>)readProperty("prtElementosProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtGruposProtocolo(PrtGruposProtocolo toPrtGruposProtocolo) {
|
||||
setToOneTarget("toPrtGruposProtocolo", toPrtGruposProtocolo, true);
|
||||
}
|
||||
|
||||
public PrtGruposProtocolo getToPrtGruposProtocolo() {
|
||||
return (PrtGruposProtocolo)readProperty("toPrtGruposProtocolo");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcd> getTrabalhadoresEcdArray() {
|
||||
return (List<TrabalhadoresEcd>)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,49 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.RiscoMedida;
|
||||
|
||||
/**
|
||||
* Class _Risco was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Risco extends CayenneDataObject {
|
||||
|
||||
public static final String DESCRIPTION_PROPERTY = "description";
|
||||
public static final String VALUE_PROPERTY = "value";
|
||||
public static final String RISCO_MEDIDA_ARRAY_PROPERTY = "riscoMedidaArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescription(String description) {
|
||||
writeProperty("description", description);
|
||||
}
|
||||
public String getDescription() {
|
||||
return (String)readProperty("description");
|
||||
}
|
||||
|
||||
public void setValue(Integer value) {
|
||||
writeProperty("value", value);
|
||||
}
|
||||
public Integer getValue() {
|
||||
return (Integer)readProperty("value");
|
||||
}
|
||||
|
||||
public void addToRiscoMedidaArray(RiscoMedida obj) {
|
||||
addToManyTarget("riscoMedidaArray", obj, true);
|
||||
}
|
||||
public void removeFromRiscoMedidaArray(RiscoMedida obj) {
|
||||
removeToManyTarget("riscoMedidaArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<RiscoMedida> getRiscoMedidaArray() {
|
||||
return (List<RiscoMedida>)readProperty("riscoMedidaArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,40 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.Medida;
|
||||
import siprp.database.cayenne.objects.Risco;
|
||||
|
||||
/**
|
||||
* Class _RiscoMedida was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _RiscoMedida extends CayenneDataObject {
|
||||
|
||||
public static final String TO_MEDIDA_PROPERTY = "toMedida";
|
||||
public static final String TO_RISCO_PROPERTY = "toRisco";
|
||||
|
||||
public static final String MEDIDA_ID_PK_COLUMN = "medida_id";
|
||||
public static final String RISCO_ID_PK_COLUMN = "risco_id";
|
||||
|
||||
public void setToMedida(Medida toMedida) {
|
||||
setToOneTarget("toMedida", toMedida, true);
|
||||
}
|
||||
|
||||
public Medida getToMedida() {
|
||||
return (Medida)readProperty("toMedida");
|
||||
}
|
||||
|
||||
|
||||
public void setToRisco(Risco toRisco) {
|
||||
setToOneTarget("toRisco", toRisco, true);
|
||||
}
|
||||
|
||||
public Risco getToRisco() {
|
||||
return (Risco)readProperty("toRisco");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,56 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.ExamesPerfis;
|
||||
|
||||
/**
|
||||
* Class _TiposExamesComp was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TiposExamesComp extends BaseObject {
|
||||
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String ORDEM_PROPERTY = "ordem";
|
||||
public static final String EXAMES_PERFIS_ARRAY_PROPERTY = "examesPerfisArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDescricao(String descricao) {
|
||||
writeProperty("descricao", descricao);
|
||||
}
|
||||
public String getDescricao() {
|
||||
return (String)readProperty("descricao");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
public void addToExamesPerfisArray(ExamesPerfis obj) {
|
||||
addToManyTarget("examesPerfisArray", obj, true);
|
||||
}
|
||||
public void removeFromExamesPerfisArray(ExamesPerfis obj) {
|
||||
removeToManyTarget("examesPerfisArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<ExamesPerfis> getExamesPerfisArray() {
|
||||
return (List<ExamesPerfis>)readProperty("examesPerfisArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,238 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.Lembretes;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultas;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcds;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresProcesso;
|
||||
|
||||
/**
|
||||
* Class _Trabalhadores was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _Trabalhadores extends BaseObject {
|
||||
|
||||
public static final String ACTUALIZACAO_PROPERTY = "actualizacao";
|
||||
public static final String BI_PROPERTY = "bi";
|
||||
public static final String CATEGORIA_PROPERTY = "categoria";
|
||||
public static final String DATA_ADMISSAO_PROPERTY = "dataAdmissao";
|
||||
public static final String DATA_ADMISSAO_FUNCAO_PROPERTY = "dataAdmissaoFuncao";
|
||||
public static final String DATA_DEMISSAO_PROPERTY = "dataDemissao";
|
||||
public static final String DATA_NASCIMENTO_PROPERTY = "dataNascimento";
|
||||
public static final String FUNCAO_PROPOSTA_PROPERTY = "funcaoProposta";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String INACTIVO_PROPERTY = "inactivo";
|
||||
public static final String LOCAL_TRABALHO_PROPERTY = "localTrabalho";
|
||||
public static final String NACIONALIDADE_PROPERTY = "nacionalidade";
|
||||
public static final String NOME_PROPERTY = "nome";
|
||||
public static final String NOME_PLAIN_PROPERTY = "nomePlain";
|
||||
public static final String NUMERO_MECANOGRAFICO_PROPERTY = "numeroMecanografico";
|
||||
public static final String OBSERVACOES_PROPERTY = "observacoes";
|
||||
public static final String OBSERVACOES_GESTAO_PROPERTY = "observacoesGestao";
|
||||
public static final String PERFIL_PROPERTY = "perfil";
|
||||
public static final String SEXO_PROPERTY = "sexo";
|
||||
public static final String LEMBRETES_ARRAY_PROPERTY = "lembretesArray";
|
||||
public static final String TO_ESTABELECIMENTOS_PROPERTY = "toEstabelecimentos";
|
||||
public static final String TRABALHADORES_CONSULTAS_ARRAY_PROPERTY = "trabalhadoresConsultasArray";
|
||||
public static final String TRABALHADORES_ECDS_ARRAY_PROPERTY = "trabalhadoresEcdsArray";
|
||||
public static final String TRABALHADORES_PROCESSO_ARRAY_PROPERTY = "trabalhadoresProcessoArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setActualizacao(Date actualizacao) {
|
||||
writeProperty("actualizacao", actualizacao);
|
||||
}
|
||||
public Date getActualizacao() {
|
||||
return (Date)readProperty("actualizacao");
|
||||
}
|
||||
|
||||
public void setBi(String bi) {
|
||||
writeProperty("bi", bi);
|
||||
}
|
||||
public String getBi() {
|
||||
return (String)readProperty("bi");
|
||||
}
|
||||
|
||||
public void setCategoria(String categoria) {
|
||||
writeProperty("categoria", categoria);
|
||||
}
|
||||
public String getCategoria() {
|
||||
return (String)readProperty("categoria");
|
||||
}
|
||||
|
||||
public void setDataAdmissao(Date dataAdmissao) {
|
||||
writeProperty("dataAdmissao", dataAdmissao);
|
||||
}
|
||||
public Date getDataAdmissao() {
|
||||
return (Date)readProperty("dataAdmissao");
|
||||
}
|
||||
|
||||
public void setDataAdmissaoFuncao(Date dataAdmissaoFuncao) {
|
||||
writeProperty("dataAdmissaoFuncao", dataAdmissaoFuncao);
|
||||
}
|
||||
public Date getDataAdmissaoFuncao() {
|
||||
return (Date)readProperty("dataAdmissaoFuncao");
|
||||
}
|
||||
|
||||
public void setDataDemissao(Date dataDemissao) {
|
||||
writeProperty("dataDemissao", dataDemissao);
|
||||
}
|
||||
public Date getDataDemissao() {
|
||||
return (Date)readProperty("dataDemissao");
|
||||
}
|
||||
|
||||
public void setDataNascimento(Date dataNascimento) {
|
||||
writeProperty("dataNascimento", dataNascimento);
|
||||
}
|
||||
public Date getDataNascimento() {
|
||||
return (Date)readProperty("dataNascimento");
|
||||
}
|
||||
|
||||
public void setFuncaoProposta(String funcaoProposta) {
|
||||
writeProperty("funcaoProposta", funcaoProposta);
|
||||
}
|
||||
public String getFuncaoProposta() {
|
||||
return (String)readProperty("funcaoProposta");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setInactivo(String inactivo) {
|
||||
writeProperty("inactivo", inactivo);
|
||||
}
|
||||
public String getInactivo() {
|
||||
return (String)readProperty("inactivo");
|
||||
}
|
||||
|
||||
public void setLocalTrabalho(String localTrabalho) {
|
||||
writeProperty("localTrabalho", localTrabalho);
|
||||
}
|
||||
public String getLocalTrabalho() {
|
||||
return (String)readProperty("localTrabalho");
|
||||
}
|
||||
|
||||
public void setNacionalidade(String nacionalidade) {
|
||||
writeProperty("nacionalidade", nacionalidade);
|
||||
}
|
||||
public String getNacionalidade() {
|
||||
return (String)readProperty("nacionalidade");
|
||||
}
|
||||
|
||||
public void setNome(String nome) {
|
||||
writeProperty("nome", nome);
|
||||
}
|
||||
public String getNome() {
|
||||
return (String)readProperty("nome");
|
||||
}
|
||||
|
||||
public void setNomePlain(String nomePlain) {
|
||||
writeProperty("nomePlain", nomePlain);
|
||||
}
|
||||
public String getNomePlain() {
|
||||
return (String)readProperty("nomePlain");
|
||||
}
|
||||
|
||||
public void setNumeroMecanografico(String numeroMecanografico) {
|
||||
writeProperty("numeroMecanografico", numeroMecanografico);
|
||||
}
|
||||
public String getNumeroMecanografico() {
|
||||
return (String)readProperty("numeroMecanografico");
|
||||
}
|
||||
|
||||
public void setObservacoes(String observacoes) {
|
||||
writeProperty("observacoes", observacoes);
|
||||
}
|
||||
public String getObservacoes() {
|
||||
return (String)readProperty("observacoes");
|
||||
}
|
||||
|
||||
public void setObservacoesGestao(String observacoesGestao) {
|
||||
writeProperty("observacoesGestao", observacoesGestao);
|
||||
}
|
||||
public String getObservacoesGestao() {
|
||||
return (String)readProperty("observacoesGestao");
|
||||
}
|
||||
|
||||
public void setPerfil(Integer perfil) {
|
||||
writeProperty("perfil", perfil);
|
||||
}
|
||||
public Integer getPerfil() {
|
||||
return (Integer)readProperty("perfil");
|
||||
}
|
||||
|
||||
public void setSexo(String sexo) {
|
||||
writeProperty("sexo", sexo);
|
||||
}
|
||||
public String getSexo() {
|
||||
return (String)readProperty("sexo");
|
||||
}
|
||||
|
||||
public void addToLembretesArray(Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<Lembretes> getLembretesArray() {
|
||||
return (List<Lembretes>)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public Estabelecimentos getToEstabelecimentos() {
|
||||
return (Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasArray(TrabalhadoresConsultas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasArray(TrabalhadoresConsultas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresConsultas> getTrabalhadoresConsultasArray() {
|
||||
return (List<TrabalhadoresConsultas>)readProperty("trabalhadoresConsultasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsArray(TrabalhadoresEcds obj) {
|
||||
addToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsArray(TrabalhadoresEcds obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcds> getTrabalhadoresEcdsArray() {
|
||||
return (List<TrabalhadoresEcds>)readProperty("trabalhadoresEcdsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresProcessoArray(TrabalhadoresProcesso obj) {
|
||||
addToManyTarget("trabalhadoresProcessoArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresProcessoArray(TrabalhadoresProcesso obj) {
|
||||
removeToManyTarget("trabalhadoresProcessoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresProcesso> getTrabalhadoresProcessoArray() {
|
||||
return (List<TrabalhadoresProcesso>)readProperty("trabalhadoresProcessoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,90 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.Trabalhadores;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultasDatas;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresProcesso;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresConsultas was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresConsultas extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
public static final String TO_TRABALHADORES_PROPERTY = "toTrabalhadores";
|
||||
public static final String TO_TRABALHADORES_PROCESSO_PROPERTY = "toTrabalhadoresProcesso";
|
||||
public static final String TRABALHADORES_CONSULTAS_DATAS_ARRAY_PROPERTY = "trabalhadoresConsultasDatasArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadores(Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public Trabalhadores getToTrabalhadores() {
|
||||
return (Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresProcesso(TrabalhadoresProcesso toTrabalhadoresProcesso) {
|
||||
setToOneTarget("toTrabalhadoresProcesso", toTrabalhadoresProcesso, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresProcesso getToTrabalhadoresProcesso() {
|
||||
return (TrabalhadoresProcesso)readProperty("toTrabalhadoresProcesso");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasArray(TrabalhadoresConsultasDatas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasArray(TrabalhadoresConsultasDatas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresConsultasDatas> getTrabalhadoresConsultasDatasArray() {
|
||||
return (List<TrabalhadoresConsultasDatas>)readProperty("trabalhadoresConsultasDatasArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,93 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultas;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultasDatasEmails;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultasDatasObservacoes;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresConsultasDatas was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresConsultasDatas extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
public static final String TO_TRABALHADORES_CONSULTAS_PROPERTY = "toTrabalhadoresConsultas";
|
||||
public static final String TRABALHADORES_CONSULTAS_DATAS_EMAILS_ARRAY_PROPERTY = "trabalhadoresConsultasDatasEmailsArray";
|
||||
public static final String TRABALHADORES_CONSULTAS_DATAS_OBSERVACOES_ARRAY_PROPERTY = "trabalhadoresConsultasDatasObservacoesArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresConsultas(TrabalhadoresConsultas toTrabalhadoresConsultas) {
|
||||
setToOneTarget("toTrabalhadoresConsultas", toTrabalhadoresConsultas, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresConsultas getToTrabalhadoresConsultas() {
|
||||
return (TrabalhadoresConsultas)readProperty("toTrabalhadoresConsultas");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasEmailsArray(TrabalhadoresConsultasDatasEmails obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasEmailsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasEmailsArray(TrabalhadoresConsultasDatasEmails obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasEmailsArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresConsultasDatasEmails> getTrabalhadoresConsultasDatasEmailsArray() {
|
||||
return (List<TrabalhadoresConsultasDatasEmails>)readProperty("trabalhadoresConsultasDatasEmailsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasObservacoesArray(TrabalhadoresConsultasDatasObservacoes obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasObservacoesArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasObservacoesArray(TrabalhadoresConsultasDatasObservacoes obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasObservacoesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresConsultasDatasObservacoes> getTrabalhadoresConsultasDatasObservacoesArray() {
|
||||
return (List<TrabalhadoresConsultasDatasObservacoes>)readProperty("trabalhadoresConsultasDatasObservacoesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,69 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultasDatas;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresConsultasDatasEmails was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresConsultasDatasEmails extends BaseObject {
|
||||
|
||||
public static final String BODY_PROPERTY = "body";
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String DESTINATION_PROPERTY = "destination";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String SUBJECT_PROPERTY = "subject";
|
||||
public static final String TO_TRABALHADORES_CONSULTAS_DATAS_PROPERTY = "toTrabalhadoresConsultasDatas";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setBody(String body) {
|
||||
writeProperty("body", body);
|
||||
}
|
||||
public String getBody() {
|
||||
return (String)readProperty("body");
|
||||
}
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setDestination(String destination) {
|
||||
writeProperty("destination", destination);
|
||||
}
|
||||
public String getDestination() {
|
||||
return (String)readProperty("destination");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setSubject(String subject) {
|
||||
writeProperty("subject", subject);
|
||||
}
|
||||
public String getSubject() {
|
||||
return (String)readProperty("subject");
|
||||
}
|
||||
|
||||
public void setToTrabalhadoresConsultasDatas(TrabalhadoresConsultasDatas toTrabalhadoresConsultasDatas) {
|
||||
setToOneTarget("toTrabalhadoresConsultasDatas", toTrabalhadoresConsultasDatas, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresConsultasDatas getToTrabalhadoresConsultasDatas() {
|
||||
return (TrabalhadoresConsultasDatas)readProperty("toTrabalhadoresConsultasDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,43 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultasDatas;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresConsultasDatasObservacoes was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresConsultasDatasObservacoes extends BaseObject {
|
||||
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String OBSERVACAO_PROPERTY = "observacao";
|
||||
public static final String TO_TRABALHADORES_CONSULTAS_DATAS_PROPERTY = "toTrabalhadoresConsultasDatas";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setObservacao(String observacao) {
|
||||
writeProperty("observacao", observacao);
|
||||
}
|
||||
public String getObservacao() {
|
||||
return (String)readProperty("observacao");
|
||||
}
|
||||
|
||||
public void setToTrabalhadoresConsultasDatas(TrabalhadoresConsultasDatas toTrabalhadoresConsultasDatas) {
|
||||
setToOneTarget("toTrabalhadoresConsultasDatas", toTrabalhadoresConsultasDatas, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresConsultasDatas getToTrabalhadoresConsultasDatas() {
|
||||
return (TrabalhadoresConsultasDatas)readProperty("toTrabalhadoresConsultasDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,94 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.EcdOficial;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.PrtTiposElementosProtocolo;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcdsDatas;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresEcd was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresEcd extends BaseObject {
|
||||
|
||||
public static final String DATA_ENVIO_PROPERTY = "dataEnvio";
|
||||
public static final String DATA_RECEPCAO_PROPERTY = "dataRecepcao";
|
||||
public static final String ENVIADO_PROPERTY = "enviado";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String TO_ANALISADOR_PROPERTY = "toAnalisador";
|
||||
public static final String TO_ECD_OFICIAL_PROPERTY = "toEcdOficial";
|
||||
public static final String TO_PRT_TIPOS_ELEMENTOS_PROTOCOLO_PROPERTY = "toPrtTiposElementosProtocolo";
|
||||
public static final String TO_TRABALHADORES_ECDS_DATAS_PROPERTY = "toTrabalhadoresEcdsDatas";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDataEnvio(Date dataEnvio) {
|
||||
writeProperty("dataEnvio", dataEnvio);
|
||||
}
|
||||
public Date getDataEnvio() {
|
||||
return (Date)readProperty("dataEnvio");
|
||||
}
|
||||
|
||||
public void setDataRecepcao(Date dataRecepcao) {
|
||||
writeProperty("dataRecepcao", dataRecepcao);
|
||||
}
|
||||
public Date getDataRecepcao() {
|
||||
return (Date)readProperty("dataRecepcao");
|
||||
}
|
||||
|
||||
public void setEnviado(Character enviado) {
|
||||
writeProperty("enviado", enviado);
|
||||
}
|
||||
public Character getEnviado() {
|
||||
return (Character)readProperty("enviado");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setToAnalisador(Prestadores toAnalisador) {
|
||||
setToOneTarget("toAnalisador", toAnalisador, true);
|
||||
}
|
||||
|
||||
public Prestadores getToAnalisador() {
|
||||
return (Prestadores)readProperty("toAnalisador");
|
||||
}
|
||||
|
||||
|
||||
public void setToEcdOficial(EcdOficial toEcdOficial) {
|
||||
setToOneTarget("toEcdOficial", toEcdOficial, true);
|
||||
}
|
||||
|
||||
public EcdOficial getToEcdOficial() {
|
||||
return (EcdOficial)readProperty("toEcdOficial");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtTiposElementosProtocolo(PrtTiposElementosProtocolo toPrtTiposElementosProtocolo) {
|
||||
setToOneTarget("toPrtTiposElementosProtocolo", toPrtTiposElementosProtocolo, true);
|
||||
}
|
||||
|
||||
public PrtTiposElementosProtocolo getToPrtTiposElementosProtocolo() {
|
||||
return (PrtTiposElementosProtocolo)readProperty("toPrtTiposElementosProtocolo");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresEcdsDatas(TrabalhadoresEcdsDatas toTrabalhadoresEcdsDatas) {
|
||||
setToOneTarget("toTrabalhadoresEcdsDatas", toTrabalhadoresEcdsDatas, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresEcdsDatas getToTrabalhadoresEcdsDatas() {
|
||||
return (TrabalhadoresEcdsDatas)readProperty("toTrabalhadoresEcdsDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,79 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Trabalhadores;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcdsDatas;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresProcesso;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresEcds was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresEcds extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TO_TRABALHADORES_PROPERTY = "toTrabalhadores";
|
||||
public static final String TO_TRABALHADORES_PROCESSO_PROPERTY = "toTrabalhadoresProcesso";
|
||||
public static final String TRABALHADORES_ECDS_DATAS_ARRAY_PROPERTY = "trabalhadoresEcdsDatasArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setToTrabalhadores(Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public Trabalhadores getToTrabalhadores() {
|
||||
return (Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresProcesso(TrabalhadoresProcesso toTrabalhadoresProcesso) {
|
||||
setToOneTarget("toTrabalhadoresProcesso", toTrabalhadoresProcesso, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresProcesso getToTrabalhadoresProcesso() {
|
||||
return (TrabalhadoresProcesso)readProperty("toTrabalhadoresProcesso");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasArray(TrabalhadoresEcdsDatas obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasArray(TrabalhadoresEcdsDatas obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcdsDatas> getTrabalhadoresEcdsDatasArray() {
|
||||
return (List<TrabalhadoresEcdsDatas>)readProperty("trabalhadoresEcdsDatasArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,49 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import org.apache.cayenne.CayenneDataObject;
|
||||
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.PrtGruposProtocolo;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresEcdsAnalise was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresEcdsAnalise extends CayenneDataObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
public static final String TO_PRT_GRUPOS_PROTOCOLO_PROPERTY = "toPrtGruposProtocolo";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtGruposProtocolo(PrtGruposProtocolo toPrtGruposProtocolo) {
|
||||
setToOneTarget("toPrtGruposProtocolo", toPrtGruposProtocolo, true);
|
||||
}
|
||||
|
||||
public PrtGruposProtocolo getToPrtGruposProtocolo() {
|
||||
return (PrtGruposProtocolo)readProperty("toPrtGruposProtocolo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,133 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Prestadores;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcd;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcds;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcdsDatasEmails;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcdsDatasObservacoes;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresEcdsDatas was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresEcdsDatas extends BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String DATA_ENVIO_PROPERTY = "dataEnvio";
|
||||
public static final String DATA_RECEPCAO_PROPERTY = "dataRecepcao";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TO_ANALISADOR_PROPERTY = "toAnalisador";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
public static final String TO_TRABALHADORES_ECDS_PROPERTY = "toTrabalhadoresEcds";
|
||||
public static final String TRABALHADORES_ECD_ARRAY_PROPERTY = "trabalhadoresEcdArray";
|
||||
public static final String TRABALHADORES_ECDS_DATAS_EMAILS_ARRAY_PROPERTY = "trabalhadoresEcdsDatasEmailsArray";
|
||||
public static final String TRABALHADORES_ECDS_DATAS_OBSERVACOES_ARRAY_PROPERTY = "trabalhadoresEcdsDatasObservacoesArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setDataEnvio(Date dataEnvio) {
|
||||
writeProperty("dataEnvio", dataEnvio);
|
||||
}
|
||||
public Date getDataEnvio() {
|
||||
return (Date)readProperty("dataEnvio");
|
||||
}
|
||||
|
||||
public void setDataRecepcao(Date dataRecepcao) {
|
||||
writeProperty("dataRecepcao", dataRecepcao);
|
||||
}
|
||||
public Date getDataRecepcao() {
|
||||
return (Date)readProperty("dataRecepcao");
|
||||
}
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setToAnalisador(Prestadores toAnalisador) {
|
||||
setToOneTarget("toAnalisador", toAnalisador, true);
|
||||
}
|
||||
|
||||
public Prestadores getToAnalisador() {
|
||||
return (Prestadores)readProperty("toAnalisador");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public Prestadores getToPrestadores() {
|
||||
return (Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresEcds(TrabalhadoresEcds toTrabalhadoresEcds) {
|
||||
setToOneTarget("toTrabalhadoresEcds", toTrabalhadoresEcds, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresEcds getToTrabalhadoresEcds() {
|
||||
return (TrabalhadoresEcds)readProperty("toTrabalhadoresEcds");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcd> getTrabalhadoresEcdArray() {
|
||||
return (List<TrabalhadoresEcd>)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasEmailsArray(TrabalhadoresEcdsDatasEmails obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasEmailsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasEmailsArray(TrabalhadoresEcdsDatasEmails obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasEmailsArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcdsDatasEmails> getTrabalhadoresEcdsDatasEmailsArray() {
|
||||
return (List<TrabalhadoresEcdsDatasEmails>)readProperty("trabalhadoresEcdsDatasEmailsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasObservacoesArray(TrabalhadoresEcdsDatasObservacoes obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasObservacoesArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasObservacoesArray(TrabalhadoresEcdsDatasObservacoes obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasObservacoesArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcdsDatasObservacoes> getTrabalhadoresEcdsDatasObservacoesArray() {
|
||||
return (List<TrabalhadoresEcdsDatasObservacoes>)readProperty("trabalhadoresEcdsDatasObservacoesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,69 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcdsDatas;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresEcdsDatasEmails was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresEcdsDatasEmails extends BaseObject {
|
||||
|
||||
public static final String BODY_PROPERTY = "body";
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String DESTINATION_PROPERTY = "destination";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String SUBJECT_PROPERTY = "subject";
|
||||
public static final String TO_TRABALHADORES_ECDS_DATAS_PROPERTY = "toTrabalhadoresEcdsDatas";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setBody(String body) {
|
||||
writeProperty("body", body);
|
||||
}
|
||||
public String getBody() {
|
||||
return (String)readProperty("body");
|
||||
}
|
||||
|
||||
public void setData(Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public Date getData() {
|
||||
return (Date)readProperty("data");
|
||||
}
|
||||
|
||||
public void setDestination(String destination) {
|
||||
writeProperty("destination", destination);
|
||||
}
|
||||
public String getDestination() {
|
||||
return (String)readProperty("destination");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setSubject(String subject) {
|
||||
writeProperty("subject", subject);
|
||||
}
|
||||
public String getSubject() {
|
||||
return (String)readProperty("subject");
|
||||
}
|
||||
|
||||
public void setToTrabalhadoresEcdsDatas(TrabalhadoresEcdsDatas toTrabalhadoresEcdsDatas) {
|
||||
setToOneTarget("toTrabalhadoresEcdsDatas", toTrabalhadoresEcdsDatas, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresEcdsDatas getToTrabalhadoresEcdsDatas() {
|
||||
return (TrabalhadoresEcdsDatas)readProperty("toTrabalhadoresEcdsDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,43 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcdsDatas;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresEcdsDatasObservacoes was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresEcdsDatasObservacoes extends BaseObject {
|
||||
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String OBSERVACAO_PROPERTY = "observacao";
|
||||
public static final String TO_TRABALHADORES_ECDS_DATAS_PROPERTY = "toTrabalhadoresEcdsDatas";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setObservacao(String observacao) {
|
||||
writeProperty("observacao", observacao);
|
||||
}
|
||||
public String getObservacao() {
|
||||
return (String)readProperty("observacao");
|
||||
}
|
||||
|
||||
public void setToTrabalhadoresEcdsDatas(TrabalhadoresEcdsDatas toTrabalhadoresEcdsDatas) {
|
||||
setToOneTarget("toTrabalhadoresEcdsDatas", toTrabalhadoresEcdsDatas, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresEcdsDatas getToTrabalhadoresEcdsDatas() {
|
||||
return (TrabalhadoresEcdsDatas)readProperty("toTrabalhadoresEcdsDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Exames;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresProcesso;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresFichasAptidao was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresFichasAptidao extends BaseObject {
|
||||
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String TO_EXAMES_PROPERTY = "toExames";
|
||||
public static final String TO_TRABALHADORES_PROCESSO_PROPERTY = "toTrabalhadoresProcesso";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setToExames(Exames toExames) {
|
||||
setToOneTarget("toExames", toExames, true);
|
||||
}
|
||||
|
||||
public Exames getToExames() {
|
||||
return (Exames)readProperty("toExames");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresProcesso(TrabalhadoresProcesso toTrabalhadoresProcesso) {
|
||||
setToOneTarget("toTrabalhadoresProcesso", toTrabalhadoresProcesso, true);
|
||||
}
|
||||
|
||||
public TrabalhadoresProcesso getToTrabalhadoresProcesso() {
|
||||
return (TrabalhadoresProcesso)readProperty("toTrabalhadoresProcesso");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,128 +0,0 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Trabalhadores;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresConsultas;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresEcds;
|
||||
import siprp.database.cayenne.objects.TrabalhadoresFichasAptidao;
|
||||
|
||||
/**
|
||||
* Class _TrabalhadoresProcesso was generated by Cayenne.
|
||||
* It is probably a good idea to avoid changing this class manually,
|
||||
* since it may be overwritten next time code is regenerated.
|
||||
* If you need to make any customizations, please use subclass.
|
||||
*/
|
||||
public abstract class _TrabalhadoresProcesso extends BaseObject {
|
||||
|
||||
public static final String ACTIVO_PROPERTY = "activo";
|
||||
public static final String DATA_FIM_PROPERTY = "dataFim";
|
||||
public static final String DATA_INICIO_PROPERTY = "dataInicio";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String ID_PROPERTY = "id";
|
||||
public static final String MOTIVO_PROPERTY = "motivo";
|
||||
public static final String SUB_MOTIVO_PROPERTY = "subMotivo";
|
||||
public static final String TO_TRABALHADORES_PROPERTY = "toTrabalhadores";
|
||||
public static final String TRABALHADORES_CONSULTAS_ARRAY_PROPERTY = "trabalhadoresConsultasArray";
|
||||
public static final String TRABALHADORES_ECDS_ARRAY_PROPERTY = "trabalhadoresEcdsArray";
|
||||
public static final String TRABALHADORES_FICHAS_APTIDAO_ARRAY_PROPERTY = "trabalhadoresFichasAptidaoArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setActivo(String activo) {
|
||||
writeProperty("activo", activo);
|
||||
}
|
||||
public String getActivo() {
|
||||
return (String)readProperty("activo");
|
||||
}
|
||||
|
||||
public void setDataFim(Date dataFim) {
|
||||
writeProperty("dataFim", dataFim);
|
||||
}
|
||||
public Date getDataFim() {
|
||||
return (Date)readProperty("dataFim");
|
||||
}
|
||||
|
||||
public void setDataInicio(Date dataInicio) {
|
||||
writeProperty("dataInicio", dataInicio);
|
||||
}
|
||||
public Date getDataInicio() {
|
||||
return (Date)readProperty("dataInicio");
|
||||
}
|
||||
|
||||
public void setEstado(String estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public String getEstado() {
|
||||
return (String)readProperty("estado");
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
writeProperty("id", id);
|
||||
}
|
||||
public Integer getId() {
|
||||
return (Integer)readProperty("id");
|
||||
}
|
||||
|
||||
public void setMotivo(Integer motivo) {
|
||||
writeProperty("motivo", motivo);
|
||||
}
|
||||
public Integer getMotivo() {
|
||||
return (Integer)readProperty("motivo");
|
||||
}
|
||||
|
||||
public void setSubMotivo(Integer subMotivo) {
|
||||
writeProperty("subMotivo", subMotivo);
|
||||
}
|
||||
public Integer getSubMotivo() {
|
||||
return (Integer)readProperty("subMotivo");
|
||||
}
|
||||
|
||||
public void setToTrabalhadores(Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public Trabalhadores getToTrabalhadores() {
|
||||
return (Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasArray(TrabalhadoresConsultas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasArray(TrabalhadoresConsultas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresConsultas> getTrabalhadoresConsultasArray() {
|
||||
return (List<TrabalhadoresConsultas>)readProperty("trabalhadoresConsultasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsArray(TrabalhadoresEcds obj) {
|
||||
addToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsArray(TrabalhadoresEcds obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresEcds> getTrabalhadoresEcdsArray() {
|
||||
return (List<TrabalhadoresEcds>)readProperty("trabalhadoresEcdsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresFichasAptidaoArray(TrabalhadoresFichasAptidao obj) {
|
||||
addToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresFichasAptidaoArray(TrabalhadoresFichasAptidao obj) {
|
||||
removeToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
@SuppressWarnings("unchecked")
|
||||
public List<TrabalhadoresFichasAptidao> getTrabalhadoresFichasAptidaoArray() {
|
||||
return (List<TrabalhadoresFichasAptidao>)readProperty("trabalhadoresFichasAptidaoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue