forked from Coded/SIPRP
Novo ecra de marcacao de consultas/exames
git-svn-id: https://svn.coded.pt/svn/SIPRP@604 bb69d46d-e84e-40c8-a05a-06db0d6337410'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
parent
15eb9fd274
commit
b0c6574dd3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<driver project-version="3.0" class="org.postgresql.Driver">
|
||||
<url value="jdbc:postgresql://storage:5432/siprp_local"/>
|
||||
<connectionPool min="1" max="1"/>
|
||||
<login userName="postgres" encoderClass="org.apache.cayenne.conf.PlainTextPasswordEncoder" passwordLocation="model" passwordSource="Not Applicable"/>
|
||||
</driver>
|
||||
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<domains project-version="3.0">
|
||||
<domain name="SIPRP">
|
||||
<property name="cayenne.DataRowStore.remote.notify" value="true"/>
|
||||
|
||||
<map name="SIPRPMap" location="SIPRPMap.map.xml"/>
|
||||
|
||||
<node name="SIPRPNode"
|
||||
datasource="SIPRPNode.driver.xml"
|
||||
factory="org.apache.cayenne.conf.DriverDataSourceFactory">
|
||||
<map-ref name="SIPRPMap"/>
|
||||
</node>
|
||||
</domain>
|
||||
</domains>
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Avisos;
|
||||
|
||||
public class Avisos extends _Avisos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,50 @@
|
||||
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 siprp.medicina.MedicinaConstants;
|
||||
|
||||
public class BaseObject extends CayenneDataObject
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
protected static final DateFormat sdf = DateFormat.getDateInstance( DateFormat.SHORT, new Locale( "pt", "PT" ) );
|
||||
|
||||
protected static final String isNewMessage = "Em Edi"+ccedil+atilde+"o";
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Contactos;
|
||||
|
||||
public class Contactos extends _Contactos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._EcdOficial;
|
||||
|
||||
public class EcdOficial extends _EcdOficial {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Empresas;
|
||||
|
||||
public class Empresas extends _Empresas {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Errors;
|
||||
|
||||
public class Errors extends _Errors {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Estabelecimentos;
|
||||
|
||||
public class Estabelecimentos extends _Estabelecimentos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Etiquetas;
|
||||
|
||||
public class Etiquetas extends _Etiquetas {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Exames;
|
||||
|
||||
public class Exames extends _Exames {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._ExamesPerfis;
|
||||
|
||||
public class ExamesPerfis extends _ExamesPerfis {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._ExamesPortaria;
|
||||
|
||||
public class ExamesPortaria extends _ExamesPortaria {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._HistoricoEstabelecimento;
|
||||
|
||||
public class HistoricoEstabelecimento extends _HistoricoEstabelecimento {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Ids;
|
||||
|
||||
public class Ids extends _Ids {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Lembretes;
|
||||
|
||||
public class Lembretes extends _Lembretes {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._LembretesTipos;
|
||||
|
||||
public class LembretesTipos extends _LembretesTipos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesEmpresa;
|
||||
|
||||
public class MarcacoesEmpresa extends _MarcacoesEmpresa {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesEstabelecimento;
|
||||
|
||||
public class MarcacoesEstabelecimento extends _MarcacoesEstabelecimento {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesGruposRealizados;
|
||||
|
||||
public class MarcacoesGruposRealizados extends _MarcacoesGruposRealizados {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesTecnicosHst;
|
||||
|
||||
public class MarcacoesTecnicosHst extends _MarcacoesTecnicosHst {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesTrabalhador;
|
||||
|
||||
public class MarcacoesTrabalhador extends _MarcacoesTrabalhador {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._MarcacoesTrabalhadorEstados;
|
||||
|
||||
public class MarcacoesTrabalhadorEstados extends _MarcacoesTrabalhadorEstados {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Medicos;
|
||||
|
||||
public class Medicos extends _Medicos {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Prestadores;
|
||||
|
||||
public class Prestadores extends _Prestadores {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrestadoresGruposProtocolo;
|
||||
|
||||
public class PrestadoresGruposProtocolo extends _PrestadoresGruposProtocolo {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrtElementosProtocolo;
|
||||
|
||||
public class PrtElementosProtocolo extends _PrtElementosProtocolo {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrtGruposProtocolo;
|
||||
|
||||
public class PrtGruposProtocolo extends _PrtGruposProtocolo {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._PrtTiposElementosProtocolo;
|
||||
|
||||
public class PrtTiposElementosProtocolo extends _PrtTiposElementosProtocolo {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,10 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TiposExamesComp;
|
||||
|
||||
public class TiposExamesComp extends _TiposExamesComp {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,52 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._Trabalhadores;
|
||||
|
||||
public class Trabalhadores extends _Trabalhadores
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String getCapitalizedName()
|
||||
{
|
||||
String result = "";
|
||||
String[] names = getNomePlain().split( " " );
|
||||
if( names != null && names.length > 0 )
|
||||
{
|
||||
for( String name : names )
|
||||
{
|
||||
if( name != null && name.length() > 0 )
|
||||
{
|
||||
result += ("" + name.charAt( 0 )).toUpperCase();
|
||||
if( name.length() > 1 )
|
||||
{
|
||||
result += name.substring( 1 );
|
||||
}
|
||||
result += " ";
|
||||
}
|
||||
}
|
||||
}
|
||||
return result.trim();
|
||||
}
|
||||
|
||||
public String getDataNascimentoString()
|
||||
{
|
||||
return getDataNascimento() == null ? "" : sdf.format( getDataNascimento() );
|
||||
}
|
||||
|
||||
public String getNomePlainCapital()
|
||||
{
|
||||
return getNomePlain() == null ? "" : getCapitalizedName();
|
||||
}
|
||||
|
||||
public String getSexoString()
|
||||
{
|
||||
return getSexo() == null ? "" : ("f".equals( getSexo().toLowerCase() ) ? "Feminino" : "Masculino");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getNomePlain();
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,17 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresConsultasDatasObservacoes;
|
||||
|
||||
public class TrabalhadoresConsultasDatasObservacoes extends _TrabalhadoresConsultasDatasObservacoes {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getObservacao();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcd;
|
||||
|
||||
public class TrabalhadoresEcd extends _TrabalhadoresEcd {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,26 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
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()]);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getDataString() + ": " + getEstadoString();
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
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() ];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,22 @@
|
||||
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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresEcdsDatasObservacoes;
|
||||
|
||||
public class TrabalhadoresEcdsDatasObservacoes extends _TrabalhadoresEcdsDatasObservacoes {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
public String toString()
|
||||
{
|
||||
return getObservacao();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,11 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresFichasAptidao;
|
||||
|
||||
public class TrabalhadoresFichasAptidao extends _TrabalhadoresFichasAptidao {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,44 @@
|
||||
package siprp.database.cayenne.objects;
|
||||
|
||||
import siprp.database.cayenne.objects.auto._TrabalhadoresProcesso;
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,87 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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(java.util.Date dataAviso) {
|
||||
writeProperty("dataAviso", dataAviso);
|
||||
}
|
||||
public java.util.Date getDataAviso() {
|
||||
return (java.util.Date)readProperty("dataAviso");
|
||||
}
|
||||
|
||||
|
||||
public void setDataEvento(java.util.Date dataEvento) {
|
||||
writeProperty("dataEvento", dataEvento);
|
||||
}
|
||||
public java.util.Date getDataEvento() {
|
||||
return (java.util.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 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(siprp.database.cayenne.objects.Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Empresas getToEmpresas() {
|
||||
return (siprp.database.cayenne.objects.Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(siprp.database.cayenne.objects.Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Estabelecimentos getToEstabelecimentos() {
|
||||
return (siprp.database.cayenne.objects.Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,103 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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 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 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(siprp.database.cayenne.objects.Empresas obj) {
|
||||
addToManyTarget("empresasArray", obj, true);
|
||||
}
|
||||
public void removeFromEmpresasArray(siprp.database.cayenne.objects.Empresas obj) {
|
||||
removeToManyTarget("empresasArray", obj, true);
|
||||
}
|
||||
public java.util.List getEmpresasArray() {
|
||||
return (java.util.List)readProperty("empresasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToEmpresasArray1(siprp.database.cayenne.objects.Empresas obj) {
|
||||
addToManyTarget("empresasArray1", obj, true);
|
||||
}
|
||||
public void removeFromEmpresasArray1(siprp.database.cayenne.objects.Empresas obj) {
|
||||
removeToManyTarget("empresasArray1", obj, true);
|
||||
}
|
||||
public java.util.List getEmpresasArray1() {
|
||||
return (java.util.List)readProperty("empresasArray1");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrestadoresArray(siprp.database.cayenne.objects.Prestadores obj) {
|
||||
addToManyTarget("prestadoresArray", obj, true);
|
||||
}
|
||||
public void removeFromPrestadoresArray(siprp.database.cayenne.objects.Prestadores obj) {
|
||||
removeToManyTarget("prestadoresArray", obj, true);
|
||||
}
|
||||
public java.util.List getPrestadoresArray() {
|
||||
return (java.util.List)readProperty("prestadoresArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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 setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,462 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.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 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(java.util.Date actualizacao) {
|
||||
writeProperty("actualizacao", actualizacao);
|
||||
}
|
||||
public java.util.Date getActualizacao() {
|
||||
return (java.util.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(java.util.Date dataAceitacao) {
|
||||
writeProperty("dataAceitacao", dataAceitacao);
|
||||
}
|
||||
public java.util.Date getDataAceitacao() {
|
||||
return (java.util.Date)readProperty("dataAceitacao");
|
||||
}
|
||||
|
||||
|
||||
public void setDataCancelamento(java.util.Date dataCancelamento) {
|
||||
writeProperty("dataCancelamento", dataCancelamento);
|
||||
}
|
||||
public java.util.Date getDataCancelamento() {
|
||||
return (java.util.Date)readProperty("dataCancelamento");
|
||||
}
|
||||
|
||||
|
||||
public void setDataEnvioContrato(java.util.Date dataEnvioContrato) {
|
||||
writeProperty("dataEnvioContrato", dataEnvioContrato);
|
||||
}
|
||||
public java.util.Date getDataEnvioContrato() {
|
||||
return (java.util.Date)readProperty("dataEnvioContrato");
|
||||
}
|
||||
|
||||
|
||||
public void setDataEnvioIdict(java.util.Date dataEnvioIdict) {
|
||||
writeProperty("dataEnvioIdict", dataEnvioIdict);
|
||||
}
|
||||
public java.util.Date getDataEnvioIdict() {
|
||||
return (java.util.Date)readProperty("dataEnvioIdict");
|
||||
}
|
||||
|
||||
|
||||
public void setDataProposta(java.util.Date dataProposta) {
|
||||
writeProperty("dataProposta", dataProposta);
|
||||
}
|
||||
public java.util.Date getDataProposta() {
|
||||
return (java.util.Date)readProperty("dataProposta");
|
||||
}
|
||||
|
||||
|
||||
public void setDataRecepcaoContrato(java.util.Date dataRecepcaoContrato) {
|
||||
writeProperty("dataRecepcaoContrato", dataRecepcaoContrato);
|
||||
}
|
||||
public java.util.Date getDataRecepcaoContrato() {
|
||||
return (java.util.Date)readProperty("dataRecepcaoContrato");
|
||||
}
|
||||
|
||||
|
||||
public void setDataRelatorioAnual(java.util.Date dataRelatorioAnual) {
|
||||
writeProperty("dataRelatorioAnual", dataRelatorioAnual);
|
||||
}
|
||||
public java.util.Date getDataRelatorioAnual() {
|
||||
return (java.util.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(java.util.Date inicioContrato) {
|
||||
writeProperty("inicioContrato", inicioContrato);
|
||||
}
|
||||
public java.util.Date getInicioContrato() {
|
||||
return (java.util.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(siprp.database.cayenne.objects.Avisos obj) {
|
||||
addToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
public void removeFromAvisosArray(siprp.database.cayenne.objects.Avisos obj) {
|
||||
removeToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
public java.util.List getAvisosArray() {
|
||||
return (java.util.List)readProperty("avisosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToEstabelecimentosArray(siprp.database.cayenne.objects.Estabelecimentos obj) {
|
||||
addToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public void removeFromEstabelecimentosArray(siprp.database.cayenne.objects.Estabelecimentos obj) {
|
||||
removeToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public java.util.List getEstabelecimentosArray() {
|
||||
return (java.util.List)readProperty("estabelecimentosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public java.util.List getLembretesArray() {
|
||||
return (java.util.List)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesEmpresaArray(siprp.database.cayenne.objects.MarcacoesEmpresa obj) {
|
||||
addToManyTarget("marcacoesEmpresaArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesEmpresaArray(siprp.database.cayenne.objects.MarcacoesEmpresa obj) {
|
||||
removeToManyTarget("marcacoesEmpresaArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesEmpresaArray() {
|
||||
return (java.util.List)readProperty("marcacoesEmpresaArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrtElementosProtocoloArray(siprp.database.cayenne.objects.PrtElementosProtocolo obj) {
|
||||
addToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrtElementosProtocoloArray(siprp.database.cayenne.objects.PrtElementosProtocolo obj) {
|
||||
removeToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public java.util.List getPrtElementosProtocoloArray() {
|
||||
return (java.util.List)readProperty("prtElementosProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToContactos(siprp.database.cayenne.objects.Contactos toContactos) {
|
||||
setToOneTarget("toContactos", toContactos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Contactos getToContactos() {
|
||||
return (siprp.database.cayenne.objects.Contactos)readProperty("toContactos");
|
||||
}
|
||||
|
||||
|
||||
public void setToContactos1(siprp.database.cayenne.objects.Contactos toContactos1) {
|
||||
setToOneTarget("toContactos1", toContactos1, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Contactos getToContactos1() {
|
||||
return (siprp.database.cayenne.objects.Contactos)readProperty("toContactos1");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 TYPE_PROPERTY = "type";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDate(java.util.Date date) {
|
||||
writeProperty("date", date);
|
||||
}
|
||||
public java.util.Date getDate() {
|
||||
return (java.util.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 setType(String type) {
|
||||
writeProperty("type", type);
|
||||
}
|
||||
public String getType() {
|
||||
return (String)readProperty("type");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,183 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
public static final String ACTUALIZACAO_PROPERTY = "actualizacao";
|
||||
public static final String CODIGO_POSTAL_PROPERTY = "codigoPostal";
|
||||
public static final String CONTACTO_PROPERTY = "contacto";
|
||||
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 HISTORICO_ESTABELECIMENTO_ARRAY_PROPERTY = "historicoEstabelecimentoArray";
|
||||
public static final String LEMBRETES_ARRAY_PROPERTY = "lembretesArray";
|
||||
public static final String MARCACOES_ESTABELECIMENTO_ARRAY_PROPERTY = "marcacoesEstabelecimentoArray";
|
||||
public static final String TO_EMPRESAS_PROPERTY = "toEmpresas";
|
||||
public static final String TO_MEDICOS_PROPERTY = "toMedicos";
|
||||
public static final String TRABALHADORES_ARRAY_PROPERTY = "trabalhadoresArray";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setActualizacao(java.util.Date actualizacao) {
|
||||
writeProperty("actualizacao", actualizacao);
|
||||
}
|
||||
public java.util.Date getActualizacao() {
|
||||
return (java.util.Date)readProperty("actualizacao");
|
||||
}
|
||||
|
||||
|
||||
public void setCodigoPostal(String codigoPostal) {
|
||||
writeProperty("codigoPostal", codigoPostal);
|
||||
}
|
||||
public String getCodigoPostal() {
|
||||
return (String)readProperty("codigoPostal");
|
||||
}
|
||||
|
||||
|
||||
public void setContacto(String contacto) {
|
||||
writeProperty("contacto", contacto);
|
||||
}
|
||||
public String getContacto() {
|
||||
return (String)readProperty("contacto");
|
||||
}
|
||||
|
||||
|
||||
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(siprp.database.cayenne.objects.Avisos obj) {
|
||||
addToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
public void removeFromAvisosArray(siprp.database.cayenne.objects.Avisos obj) {
|
||||
removeToManyTarget("avisosArray", obj, true);
|
||||
}
|
||||
public java.util.List getAvisosArray() {
|
||||
return (java.util.List)readProperty("avisosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToHistoricoEstabelecimentoArray(siprp.database.cayenne.objects.HistoricoEstabelecimento obj) {
|
||||
addToManyTarget("historicoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromHistoricoEstabelecimentoArray(siprp.database.cayenne.objects.HistoricoEstabelecimento obj) {
|
||||
removeToManyTarget("historicoEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public java.util.List getHistoricoEstabelecimentoArray() {
|
||||
return (java.util.List)readProperty("historicoEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public java.util.List getLembretesArray() {
|
||||
return (java.util.List)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesEstabelecimentoArray(siprp.database.cayenne.objects.MarcacoesEstabelecimento obj) {
|
||||
addToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesEstabelecimentoArray(siprp.database.cayenne.objects.MarcacoesEstabelecimento obj) {
|
||||
removeToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesEstabelecimentoArray() {
|
||||
return (java.util.List)readProperty("marcacoesEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToEmpresas(siprp.database.cayenne.objects.Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Empresas getToEmpresas() {
|
||||
return (siprp.database.cayenne.objects.Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToMedicos(siprp.database.cayenne.objects.Medicos toMedicos) {
|
||||
setToOneTarget("toMedicos", toMedicos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Medicos getToMedicos() {
|
||||
return (siprp.database.cayenne.objects.Medicos)readProperty("toMedicos");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresArray(siprp.database.cayenne.objects.Trabalhadores obj) {
|
||||
addToManyTarget("trabalhadoresArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresArray(siprp.database.cayenne.objects.Trabalhadores obj) {
|
||||
removeToManyTarget("trabalhadoresArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,130 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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 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");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,170 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String FO_PROPERTY = "fo";
|
||||
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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setFo(byte[] fo) {
|
||||
writeProperty("fo", fo);
|
||||
}
|
||||
public byte[] getFo() {
|
||||
return (byte[])readProperty("fo");
|
||||
}
|
||||
|
||||
|
||||
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(java.util.Date proximoExame) {
|
||||
writeProperty("proximoExame", proximoExame);
|
||||
}
|
||||
public java.util.Date getProximoExame() {
|
||||
return (java.util.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(siprp.database.cayenne.objects.Medicos toMedicos) {
|
||||
setToOneTarget("toMedicos", toMedicos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Medicos getToMedicos() {
|
||||
return (siprp.database.cayenne.objects.Medicos)readProperty("toMedicos");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresFichasAptidaoArray(siprp.database.cayenne.objects.TrabalhadoresFichasAptidao obj) {
|
||||
addToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresFichasAptidaoArray(siprp.database.cayenne.objects.TrabalhadoresFichasAptidao obj) {
|
||||
removeToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresFichasAptidaoArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresFichasAptidaoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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(siprp.database.cayenne.objects.TiposExamesComp toTiposExamesComp) {
|
||||
setToOneTarget("toTiposExamesComp", toTiposExamesComp, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TiposExamesComp getToTiposExamesComp() {
|
||||
return (siprp.database.cayenne.objects.TiposExamesComp)readProperty("toTiposExamesComp");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
public static final String DATA_ENTRADA_PROPERTY = "dataEntrada";
|
||||
public static final String PORTARIA_PROPERTY = "portaria";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setDataEntrada(java.util.Date dataEntrada) {
|
||||
writeProperty("dataEntrada", dataEntrada);
|
||||
}
|
||||
public java.util.Date getDataEntrada() {
|
||||
return (java.util.Date)readProperty("dataEntrada");
|
||||
}
|
||||
|
||||
|
||||
public void setPortaria(String portaria) {
|
||||
writeProperty("portaria", portaria);
|
||||
}
|
||||
public String getPortaria() {
|
||||
return (String)readProperty("portaria");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setTexto(String texto) {
|
||||
writeProperty("texto", texto);
|
||||
}
|
||||
public String getTexto() {
|
||||
return (String)readProperty("texto");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(siprp.database.cayenne.objects.Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Estabelecimentos getToEstabelecimentos() {
|
||||
return (siprp.database.cayenne.objects.Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
}
|
||||
@ -0,0 +1,136 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.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 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(java.util.Date ultimoEnvio) {
|
||||
writeProperty("ultimoEnvio", ultimoEnvio);
|
||||
}
|
||||
public java.util.Date getUltimoEnvio() {
|
||||
return (java.util.Date)readProperty("ultimoEnvio");
|
||||
}
|
||||
|
||||
|
||||
public void setToEmpresas(siprp.database.cayenne.objects.Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Empresas getToEmpresas() {
|
||||
return (siprp.database.cayenne.objects.Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(siprp.database.cayenne.objects.Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Estabelecimentos getToEstabelecimentos() {
|
||||
return (siprp.database.cayenne.objects.Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void setToLembretesTipos(siprp.database.cayenne.objects.LembretesTipos toLembretesTipos) {
|
||||
setToOneTarget("toLembretesTipos", toLembretesTipos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.LembretesTipos getToLembretesTipos() {
|
||||
return (siprp.database.cayenne.objects.LembretesTipos)readProperty("toLembretesTipos");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesEstabelecimento(siprp.database.cayenne.objects.MarcacoesEstabelecimento toMarcacoesEstabelecimento) {
|
||||
setToOneTarget("toMarcacoesEstabelecimento", toMarcacoesEstabelecimento, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.MarcacoesEstabelecimento getToMarcacoesEstabelecimento() {
|
||||
return (siprp.database.cayenne.objects.MarcacoesEstabelecimento)readProperty("toMarcacoesEstabelecimento");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTrabalhador(siprp.database.cayenne.objects.MarcacoesTrabalhador toMarcacoesTrabalhador) {
|
||||
setToOneTarget("toMarcacoesTrabalhador", toMarcacoesTrabalhador, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.MarcacoesTrabalhador getToMarcacoesTrabalhador() {
|
||||
return (siprp.database.cayenne.objects.MarcacoesTrabalhador)readProperty("toMarcacoesTrabalhador");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadores(siprp.database.cayenne.objects.Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Trabalhadores getToTrabalhadores() {
|
||||
return (siprp.database.cayenne.objects.Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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 setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
|
||||
public void addToLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public java.util.List getLembretesArray() {
|
||||
return (java.util.List)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,50 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
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(siprp.database.cayenne.objects.Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Empresas getToEmpresas() {
|
||||
return (siprp.database.cayenne.objects.Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,99 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setDataEmail(java.util.Date dataEmail) {
|
||||
writeProperty("dataEmail", dataEmail);
|
||||
}
|
||||
public java.util.Date getDataEmail() {
|
||||
return (java.util.Date)readProperty("dataEmail");
|
||||
}
|
||||
|
||||
|
||||
public void setDataRelatorio(java.util.Date dataRelatorio) {
|
||||
writeProperty("dataRelatorio", dataRelatorio);
|
||||
}
|
||||
public java.util.Date getDataRelatorio() {
|
||||
return (java.util.Date)readProperty("dataRelatorio");
|
||||
}
|
||||
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
|
||||
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(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public java.util.List getLembretesArray() {
|
||||
return (java.util.List)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(siprp.database.cayenne.objects.Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Estabelecimentos getToEstabelecimentos() {
|
||||
return (siprp.database.cayenne.objects.Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTecnicosHst(siprp.database.cayenne.objects.MarcacoesTecnicosHst toMarcacoesTecnicosHst) {
|
||||
setToOneTarget("toMarcacoesTecnicosHst", toMarcacoesTecnicosHst, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.MarcacoesTecnicosHst getToMarcacoesTecnicosHst() {
|
||||
return (siprp.database.cayenne.objects.MarcacoesTecnicosHst)readProperty("toMarcacoesTecnicosHst");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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(siprp.database.cayenne.objects.MarcacoesTrabalhador toMarcacoesTrabalhador) {
|
||||
setToOneTarget("toMarcacoesTrabalhador", toMarcacoesTrabalhador, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.MarcacoesTrabalhador getToMarcacoesTrabalhador() {
|
||||
return (siprp.database.cayenne.objects.MarcacoesTrabalhador)readProperty("toMarcacoesTrabalhador");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTrabalhadorEstados(siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados toMarcacoesTrabalhadorEstados) {
|
||||
setToOneTarget("toMarcacoesTrabalhadorEstados", toMarcacoesTrabalhadorEstados, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados getToMarcacoesTrabalhadorEstados() {
|
||||
return (siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados)readProperty("toMarcacoesTrabalhadorEstados");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtGruposProtocolo(siprp.database.cayenne.objects.PrtGruposProtocolo toPrtGruposProtocolo) {
|
||||
setToOneTarget("toPrtGruposProtocolo", toPrtGruposProtocolo, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.PrtGruposProtocolo getToPrtGruposProtocolo() {
|
||||
return (siprp.database.cayenne.objects.PrtGruposProtocolo)readProperty("toPrtGruposProtocolo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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(siprp.database.cayenne.objects.MarcacoesEstabelecimento obj) {
|
||||
addToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesEstabelecimentoArray(siprp.database.cayenne.objects.MarcacoesEstabelecimento obj) {
|
||||
removeToManyTarget("marcacoesEstabelecimentoArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesEstabelecimentoArray() {
|
||||
return (java.util.List)readProperty("marcacoesEstabelecimentoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,140 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setDataEmail(java.util.Date dataEmail) {
|
||||
writeProperty("dataEmail", dataEmail);
|
||||
}
|
||||
public java.util.Date getDataEmail() {
|
||||
return (java.util.Date)readProperty("dataEmail");
|
||||
}
|
||||
|
||||
|
||||
public void setDataRelatorio(java.util.Date dataRelatorio) {
|
||||
writeProperty("dataRelatorio", dataRelatorio);
|
||||
}
|
||||
public java.util.Date getDataRelatorio() {
|
||||
return (java.util.Date)readProperty("dataRelatorio");
|
||||
}
|
||||
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
|
||||
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(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public java.util.List getLembretesArray() {
|
||||
return (java.util.List)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesGruposRealizadosArray(siprp.database.cayenne.objects.MarcacoesGruposRealizados obj) {
|
||||
addToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesGruposRealizadosArray(siprp.database.cayenne.objects.MarcacoesGruposRealizados obj) {
|
||||
removeToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesGruposRealizadosArray() {
|
||||
return (java.util.List)readProperty("marcacoesGruposRealizadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesTrabalhadorEstadosArray(siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados obj) {
|
||||
addToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesTrabalhadorEstadosArray(siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados obj) {
|
||||
removeToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesTrabalhadorEstadosArray() {
|
||||
return (java.util.List)readProperty("marcacoesTrabalhadorEstadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(siprp.database.cayenne.objects.Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Prestadores getToPrestadores() {
|
||||
return (siprp.database.cayenne.objects.Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesGruposRealizadosArray(siprp.database.cayenne.objects.MarcacoesGruposRealizados obj) {
|
||||
addToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesGruposRealizadosArray(siprp.database.cayenne.objects.MarcacoesGruposRealizados obj) {
|
||||
removeToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesGruposRealizadosArray() {
|
||||
return (java.util.List)readProperty("marcacoesGruposRealizadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToMarcacoesTrabalhador(siprp.database.cayenne.objects.MarcacoesTrabalhador toMarcacoesTrabalhador) {
|
||||
setToOneTarget("toMarcacoesTrabalhador", toMarcacoesTrabalhador, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.MarcacoesTrabalhador getToMarcacoesTrabalhador() {
|
||||
return (siprp.database.cayenne.objects.MarcacoesTrabalhador)readProperty("toMarcacoesTrabalhador");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(siprp.database.cayenne.objects.Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Prestadores getToPrestadores() {
|
||||
return (siprp.database.cayenne.objects.Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,64 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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(siprp.database.cayenne.objects.Estabelecimentos obj) {
|
||||
addToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public void removeFromEstabelecimentosArray(siprp.database.cayenne.objects.Estabelecimentos obj) {
|
||||
removeToManyTarget("estabelecimentosArray", obj, true);
|
||||
}
|
||||
public java.util.List getEstabelecimentosArray() {
|
||||
return (java.util.List)readProperty("estabelecimentosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToExamesArray(siprp.database.cayenne.objects.Exames obj) {
|
||||
addToManyTarget("examesArray", obj, true);
|
||||
}
|
||||
public void removeFromExamesArray(siprp.database.cayenne.objects.Exames obj) {
|
||||
removeToManyTarget("examesArray", obj, true);
|
||||
}
|
||||
public java.util.List getExamesArray() {
|
||||
return (java.util.List)readProperty("examesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,197 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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 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 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 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 addToMarcacoesTrabalhadorArray(siprp.database.cayenne.objects.MarcacoesTrabalhador obj) {
|
||||
addToManyTarget("marcacoesTrabalhadorArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesTrabalhadorArray(siprp.database.cayenne.objects.MarcacoesTrabalhador obj) {
|
||||
removeToManyTarget("marcacoesTrabalhadorArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesTrabalhadorArray() {
|
||||
return (java.util.List)readProperty("marcacoesTrabalhadorArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesTrabalhadorEstadosArray(siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados obj) {
|
||||
addToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesTrabalhadorEstadosArray(siprp.database.cayenne.objects.MarcacoesTrabalhadorEstados obj) {
|
||||
removeToManyTarget("marcacoesTrabalhadorEstadosArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesTrabalhadorEstadosArray() {
|
||||
return (java.util.List)readProperty("marcacoesTrabalhadorEstadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrestadoresGruposProtocoloArray(siprp.database.cayenne.objects.PrestadoresGruposProtocolo obj) {
|
||||
addToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrestadoresGruposProtocoloArray(siprp.database.cayenne.objects.PrestadoresGruposProtocolo obj) {
|
||||
removeToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
public java.util.List getPrestadoresGruposProtocoloArray() {
|
||||
return (java.util.List)readProperty("prestadoresGruposProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToContactos(siprp.database.cayenne.objects.Contactos toContactos) {
|
||||
setToOneTarget("toContactos", toContactos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Contactos getToContactos() {
|
||||
return (siprp.database.cayenne.objects.Contactos)readProperty("toContactos");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasArray(siprp.database.cayenne.objects.TrabalhadoresConsultas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasArray(siprp.database.cayenne.objects.TrabalhadoresConsultas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresConsultasArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresConsultasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresConsultasDatasArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresConsultasDatasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatas obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatas obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdsDatasArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdsDatasArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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(siprp.database.cayenne.objects.Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Prestadores getToPrestadores() {
|
||||
return (siprp.database.cayenne.objects.Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtGruposProtocolo(siprp.database.cayenne.objects.PrtGruposProtocolo toPrtGruposProtocolo) {
|
||||
setToOneTarget("toPrtGruposProtocolo", toPrtGruposProtocolo, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.PrtGruposProtocolo getToPrtGruposProtocolo() {
|
||||
return (siprp.database.cayenne.objects.PrtGruposProtocolo)readProperty("toPrtGruposProtocolo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 setNumeroPerfil(Integer numeroPerfil) {
|
||||
writeProperty("numeroPerfil", numeroPerfil);
|
||||
}
|
||||
public Integer getNumeroPerfil() {
|
||||
return (Integer)readProperty("numeroPerfil");
|
||||
}
|
||||
|
||||
|
||||
public void setToEmpresas(siprp.database.cayenne.objects.Empresas toEmpresas) {
|
||||
setToOneTarget("toEmpresas", toEmpresas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Empresas getToEmpresas() {
|
||||
return (siprp.database.cayenne.objects.Empresas)readProperty("toEmpresas");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtTiposElementosProtocolo(siprp.database.cayenne.objects.PrtTiposElementosProtocolo toPrtTiposElementosProtocolo) {
|
||||
setToOneTarget("toPrtTiposElementosProtocolo", toPrtTiposElementosProtocolo, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.PrtTiposElementosProtocolo getToPrtTiposElementosProtocolo() {
|
||||
return (siprp.database.cayenne.objects.PrtTiposElementosProtocolo)readProperty("toPrtTiposElementosProtocolo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,85 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
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 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 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 setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
|
||||
public void addToMarcacoesGruposRealizadosArray(siprp.database.cayenne.objects.MarcacoesGruposRealizados obj) {
|
||||
addToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public void removeFromMarcacoesGruposRealizadosArray(siprp.database.cayenne.objects.MarcacoesGruposRealizados obj) {
|
||||
removeToManyTarget("marcacoesGruposRealizadosArray", obj, true);
|
||||
}
|
||||
public java.util.List getMarcacoesGruposRealizadosArray() {
|
||||
return (java.util.List)readProperty("marcacoesGruposRealizadosArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrestadoresGruposProtocoloArray(siprp.database.cayenne.objects.PrestadoresGruposProtocolo obj) {
|
||||
addToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrestadoresGruposProtocoloArray(siprp.database.cayenne.objects.PrestadoresGruposProtocolo obj) {
|
||||
removeToManyTarget("prestadoresGruposProtocoloArray", obj, true);
|
||||
}
|
||||
public java.util.List getPrestadoresGruposProtocoloArray() {
|
||||
return (java.util.List)readProperty("prestadoresGruposProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrtTiposElementosProtocoloArray(siprp.database.cayenne.objects.PrtTiposElementosProtocolo obj) {
|
||||
addToManyTarget("prtTiposElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrtTiposElementosProtocoloArray(siprp.database.cayenne.objects.PrtTiposElementosProtocolo obj) {
|
||||
removeToManyTarget("prtTiposElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public java.util.List getPrtTiposElementosProtocoloArray() {
|
||||
return (java.util.List)readProperty("prtTiposElementosProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,74 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
public static final String DESCRICAO_PLAIN_PROPERTY = "descricaoPlain";
|
||||
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 setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
|
||||
public void addToPrtElementosProtocoloArray(siprp.database.cayenne.objects.PrtElementosProtocolo obj) {
|
||||
addToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public void removeFromPrtElementosProtocoloArray(siprp.database.cayenne.objects.PrtElementosProtocolo obj) {
|
||||
removeToManyTarget("prtElementosProtocoloArray", obj, true);
|
||||
}
|
||||
public java.util.List getPrtElementosProtocoloArray() {
|
||||
return (java.util.List)readProperty("prtElementosProtocoloArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtGruposProtocolo(siprp.database.cayenne.objects.PrtGruposProtocolo toPrtGruposProtocolo) {
|
||||
setToOneTarget("toPrtGruposProtocolo", toPrtGruposProtocolo, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.PrtGruposProtocolo getToPrtGruposProtocolo() {
|
||||
return (siprp.database.cayenne.objects.PrtGruposProtocolo)readProperty("toPrtGruposProtocolo");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 org.apache.cayenne.CayenneDataObject {
|
||||
|
||||
public static final String DESCRICAO_PROPERTY = "descricao";
|
||||
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 setOrdem(Integer ordem) {
|
||||
writeProperty("ordem", ordem);
|
||||
}
|
||||
public Integer getOrdem() {
|
||||
return (Integer)readProperty("ordem");
|
||||
}
|
||||
|
||||
|
||||
public void addToExamesPerfisArray(siprp.database.cayenne.objects.ExamesPerfis obj) {
|
||||
addToManyTarget("examesPerfisArray", obj, true);
|
||||
}
|
||||
public void removeFromExamesPerfisArray(siprp.database.cayenne.objects.ExamesPerfis obj) {
|
||||
removeToManyTarget("examesPerfisArray", obj, true);
|
||||
}
|
||||
public java.util.List getExamesPerfisArray() {
|
||||
return (java.util.List)readProperty("examesPerfisArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,233 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
public static final String ACTUALIZACAO_PROPERTY = "actualizacao";
|
||||
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(java.util.Date actualizacao) {
|
||||
writeProperty("actualizacao", actualizacao);
|
||||
}
|
||||
public java.util.Date getActualizacao() {
|
||||
return (java.util.Date)readProperty("actualizacao");
|
||||
}
|
||||
|
||||
|
||||
public void setCategoria(String categoria) {
|
||||
writeProperty("categoria", categoria);
|
||||
}
|
||||
public String getCategoria() {
|
||||
return (String)readProperty("categoria");
|
||||
}
|
||||
|
||||
|
||||
public void setDataAdmissao(java.util.Date dataAdmissao) {
|
||||
writeProperty("dataAdmissao", dataAdmissao);
|
||||
}
|
||||
public java.util.Date getDataAdmissao() {
|
||||
return (java.util.Date)readProperty("dataAdmissao");
|
||||
}
|
||||
|
||||
|
||||
public void setDataAdmissaoFuncao(java.util.Date dataAdmissaoFuncao) {
|
||||
writeProperty("dataAdmissaoFuncao", dataAdmissaoFuncao);
|
||||
}
|
||||
public java.util.Date getDataAdmissaoFuncao() {
|
||||
return (java.util.Date)readProperty("dataAdmissaoFuncao");
|
||||
}
|
||||
|
||||
|
||||
public void setDataDemissao(java.util.Date dataDemissao) {
|
||||
writeProperty("dataDemissao", dataDemissao);
|
||||
}
|
||||
public java.util.Date getDataDemissao() {
|
||||
return (java.util.Date)readProperty("dataDemissao");
|
||||
}
|
||||
|
||||
|
||||
public void setDataNascimento(java.util.Date dataNascimento) {
|
||||
writeProperty("dataNascimento", dataNascimento);
|
||||
}
|
||||
public java.util.Date getDataNascimento() {
|
||||
return (java.util.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(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
addToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public void removeFromLembretesArray(siprp.database.cayenne.objects.Lembretes obj) {
|
||||
removeToManyTarget("lembretesArray", obj, true);
|
||||
}
|
||||
public java.util.List getLembretesArray() {
|
||||
return (java.util.List)readProperty("lembretesArray");
|
||||
}
|
||||
|
||||
|
||||
public void setToEstabelecimentos(siprp.database.cayenne.objects.Estabelecimentos toEstabelecimentos) {
|
||||
setToOneTarget("toEstabelecimentos", toEstabelecimentos, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Estabelecimentos getToEstabelecimentos() {
|
||||
return (siprp.database.cayenne.objects.Estabelecimentos)readProperty("toEstabelecimentos");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasArray(siprp.database.cayenne.objects.TrabalhadoresConsultas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasArray(siprp.database.cayenne.objects.TrabalhadoresConsultas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresConsultasArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresConsultasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsArray(siprp.database.cayenne.objects.TrabalhadoresEcds obj) {
|
||||
addToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsArray(siprp.database.cayenne.objects.TrabalhadoresEcds obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdsArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresProcessoArray(siprp.database.cayenne.objects.TrabalhadoresProcesso obj) {
|
||||
addToManyTarget("trabalhadoresProcessoArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresProcessoArray(siprp.database.cayenne.objects.TrabalhadoresProcesso obj) {
|
||||
removeToManyTarget("trabalhadoresProcessoArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresProcessoArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresProcessoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,82 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.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(siprp.database.cayenne.objects.Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Prestadores getToPrestadores() {
|
||||
return (siprp.database.cayenne.objects.Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadores(siprp.database.cayenne.objects.Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Trabalhadores getToTrabalhadores() {
|
||||
return (siprp.database.cayenne.objects.Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresProcesso(siprp.database.cayenne.objects.TrabalhadoresProcesso toTrabalhadoresProcesso) {
|
||||
setToOneTarget("toTrabalhadoresProcesso", toTrabalhadoresProcesso, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresProcesso getToTrabalhadoresProcesso() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresProcesso)readProperty("toTrabalhadoresProcesso");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresConsultasDatasArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresConsultasDatasArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,84 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.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(siprp.database.cayenne.objects.Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Prestadores getToPrestadores() {
|
||||
return (siprp.database.cayenne.objects.Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresConsultas(siprp.database.cayenne.objects.TrabalhadoresConsultas toTrabalhadoresConsultas) {
|
||||
setToOneTarget("toTrabalhadoresConsultas", toTrabalhadoresConsultas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresConsultas getToTrabalhadoresConsultas() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresConsultas)readProperty("toTrabalhadoresConsultas");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasEmailsArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatasEmails obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasEmailsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasEmailsArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatasEmails obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasEmailsArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresConsultasDatasEmailsArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresConsultasDatasEmailsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasDatasObservacoesArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatasObservacoes obj) {
|
||||
addToManyTarget("trabalhadoresConsultasDatasObservacoesArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasDatasObservacoesArray(siprp.database.cayenne.objects.TrabalhadoresConsultasDatasObservacoes obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasDatasObservacoesArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresConsultasDatasObservacoesArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresConsultasDatasObservacoesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,68 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.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(siprp.database.cayenne.objects.TrabalhadoresConsultasDatas toTrabalhadoresConsultasDatas) {
|
||||
setToOneTarget("toTrabalhadoresConsultasDatas", toTrabalhadoresConsultasDatas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresConsultasDatas getToTrabalhadoresConsultasDatas() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresConsultasDatas)readProperty("toTrabalhadoresConsultasDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.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(siprp.database.cayenne.objects.TrabalhadoresConsultasDatas toTrabalhadoresConsultasDatas) {
|
||||
setToOneTarget("toTrabalhadoresConsultasDatas", toTrabalhadoresConsultasDatas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresConsultasDatas getToTrabalhadoresConsultasDatas() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresConsultasDatas)readProperty("toTrabalhadoresConsultasDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String TO_ECD_OFICIAL_PROPERTY = "toEcdOficial";
|
||||
public static final String TO_PRESTADORES_PROPERTY = "toPrestadores";
|
||||
public static final String TO_PRT_TIPOS_ELEMENTOS_PROTOCOLO_PROPERTY = "toPrtTiposElementosProtocolo";
|
||||
public static final String TO_TRABALHADORES_ECDS_PROPERTY = "toTrabalhadoresEcds";
|
||||
public static final String TO_TRABALHADORES_ECDS_DATAS_PROPERTY = "toTrabalhadoresEcdsDatas";
|
||||
|
||||
public static final String ID_PK_COLUMN = "id";
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
|
||||
public void setToEcdOficial(siprp.database.cayenne.objects.EcdOficial toEcdOficial) {
|
||||
setToOneTarget("toEcdOficial", toEcdOficial, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.EcdOficial getToEcdOficial() {
|
||||
return (siprp.database.cayenne.objects.EcdOficial)readProperty("toEcdOficial");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(siprp.database.cayenne.objects.Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Prestadores getToPrestadores() {
|
||||
return (siprp.database.cayenne.objects.Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrtTiposElementosProtocolo(siprp.database.cayenne.objects.PrtTiposElementosProtocolo toPrtTiposElementosProtocolo) {
|
||||
setToOneTarget("toPrtTiposElementosProtocolo", toPrtTiposElementosProtocolo, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.PrtTiposElementosProtocolo getToPrtTiposElementosProtocolo() {
|
||||
return (siprp.database.cayenne.objects.PrtTiposElementosProtocolo)readProperty("toPrtTiposElementosProtocolo");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresEcds(siprp.database.cayenne.objects.TrabalhadoresEcds toTrabalhadoresEcds) {
|
||||
setToOneTarget("toTrabalhadoresEcds", toTrabalhadoresEcds, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresEcds getToTrabalhadoresEcds() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresEcds)readProperty("toTrabalhadoresEcds");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresEcdsDatas(siprp.database.cayenne.objects.TrabalhadoresEcdsDatas toTrabalhadoresEcdsDatas) {
|
||||
setToOneTarget("toTrabalhadoresEcdsDatas", toTrabalhadoresEcdsDatas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresEcdsDatas getToTrabalhadoresEcdsDatas() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresEcdsDatas)readProperty("toTrabalhadoresEcdsDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,75 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
public static final String TO_TRABALHADORES_PROPERTY = "toTrabalhadores";
|
||||
public static final String TO_TRABALHADORES_PROCESSO_PROPERTY = "toTrabalhadoresProcesso";
|
||||
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 setData(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadores(siprp.database.cayenne.objects.Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Trabalhadores getToTrabalhadores() {
|
||||
return (siprp.database.cayenne.objects.Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresProcesso(siprp.database.cayenne.objects.TrabalhadoresProcesso toTrabalhadoresProcesso) {
|
||||
setToOneTarget("toTrabalhadoresProcesso", toTrabalhadoresProcesso, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresProcesso getToTrabalhadoresProcesso() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresProcesso)readProperty("toTrabalhadoresProcesso");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatas obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatas obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdsDatasArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdsDatasArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,87 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
public static final String DATA_PROPERTY = "data";
|
||||
public static final String ESTADO_PROPERTY = "estado";
|
||||
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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setEstado(Integer estado) {
|
||||
writeProperty("estado", estado);
|
||||
}
|
||||
public Integer getEstado() {
|
||||
return (Integer)readProperty("estado");
|
||||
}
|
||||
|
||||
|
||||
public void setToPrestadores(siprp.database.cayenne.objects.Prestadores toPrestadores) {
|
||||
setToOneTarget("toPrestadores", toPrestadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Prestadores getToPrestadores() {
|
||||
return (siprp.database.cayenne.objects.Prestadores)readProperty("toPrestadores");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresEcds(siprp.database.cayenne.objects.TrabalhadoresEcds toTrabalhadoresEcds) {
|
||||
setToOneTarget("toTrabalhadoresEcds", toTrabalhadoresEcds, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresEcds getToTrabalhadoresEcds() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresEcds)readProperty("toTrabalhadoresEcds");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
addToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdArray(siprp.database.cayenne.objects.TrabalhadoresEcd obj) {
|
||||
removeToManyTarget("trabalhadoresEcdArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasEmailsArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatasEmails obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasEmailsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasEmailsArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatasEmails obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasEmailsArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdsDatasEmailsArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdsDatasEmailsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsDatasObservacoesArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatasObservacoes obj) {
|
||||
addToManyTarget("trabalhadoresEcdsDatasObservacoesArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsDatasObservacoesArray(siprp.database.cayenne.objects.TrabalhadoresEcdsDatasObservacoes obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsDatasObservacoesArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdsDatasObservacoesArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdsDatasObservacoesArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.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 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(java.util.Date data) {
|
||||
writeProperty("data", data);
|
||||
}
|
||||
public java.util.Date getData() {
|
||||
return (java.util.Date)readProperty("data");
|
||||
}
|
||||
|
||||
|
||||
public void setDestination(String destination) {
|
||||
writeProperty("destination", destination);
|
||||
}
|
||||
public String getDestination() {
|
||||
return (String)readProperty("destination");
|
||||
}
|
||||
|
||||
|
||||
public void setSubject(String subject) {
|
||||
writeProperty("subject", subject);
|
||||
}
|
||||
public String getSubject() {
|
||||
return (String)readProperty("subject");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresEcdsDatas(siprp.database.cayenne.objects.TrabalhadoresEcdsDatas toTrabalhadoresEcdsDatas) {
|
||||
setToOneTarget("toTrabalhadoresEcdsDatas", toTrabalhadoresEcdsDatas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresEcdsDatas getToTrabalhadoresEcdsDatas() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresEcdsDatas)readProperty("toTrabalhadoresEcdsDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
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 setObservacao(String observacao) {
|
||||
writeProperty("observacao", observacao);
|
||||
}
|
||||
public String getObservacao() {
|
||||
return (String)readProperty("observacao");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresEcdsDatas(siprp.database.cayenne.objects.TrabalhadoresEcdsDatas toTrabalhadoresEcdsDatas) {
|
||||
setToOneTarget("toTrabalhadoresEcdsDatas", toTrabalhadoresEcdsDatas, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresEcdsDatas getToTrabalhadoresEcdsDatas() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresEcdsDatas)readProperty("toTrabalhadoresEcdsDatas");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
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 setToExames(siprp.database.cayenne.objects.Exames toExames) {
|
||||
setToOneTarget("toExames", toExames, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Exames getToExames() {
|
||||
return (siprp.database.cayenne.objects.Exames)readProperty("toExames");
|
||||
}
|
||||
|
||||
|
||||
public void setToTrabalhadoresProcesso(siprp.database.cayenne.objects.TrabalhadoresProcesso toTrabalhadoresProcesso) {
|
||||
setToOneTarget("toTrabalhadoresProcesso", toTrabalhadoresProcesso, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.TrabalhadoresProcesso getToTrabalhadoresProcesso() {
|
||||
return (siprp.database.cayenne.objects.TrabalhadoresProcesso)readProperty("toTrabalhadoresProcesso");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,113 @@
|
||||
package siprp.database.cayenne.objects.auto;
|
||||
|
||||
/** 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 siprp.database.cayenne.objects.BaseObject {
|
||||
|
||||
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 setDataFim(java.util.Date dataFim) {
|
||||
writeProperty("dataFim", dataFim);
|
||||
}
|
||||
public java.util.Date getDataFim() {
|
||||
return (java.util.Date)readProperty("dataFim");
|
||||
}
|
||||
|
||||
|
||||
public void setDataInicio(java.util.Date dataInicio) {
|
||||
writeProperty("dataInicio", dataInicio);
|
||||
}
|
||||
public java.util.Date getDataInicio() {
|
||||
return (java.util.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(siprp.database.cayenne.objects.Trabalhadores toTrabalhadores) {
|
||||
setToOneTarget("toTrabalhadores", toTrabalhadores, true);
|
||||
}
|
||||
|
||||
public siprp.database.cayenne.objects.Trabalhadores getToTrabalhadores() {
|
||||
return (siprp.database.cayenne.objects.Trabalhadores)readProperty("toTrabalhadores");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresConsultasArray(siprp.database.cayenne.objects.TrabalhadoresConsultas obj) {
|
||||
addToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresConsultasArray(siprp.database.cayenne.objects.TrabalhadoresConsultas obj) {
|
||||
removeToManyTarget("trabalhadoresConsultasArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresConsultasArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresConsultasArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresEcdsArray(siprp.database.cayenne.objects.TrabalhadoresEcds obj) {
|
||||
addToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresEcdsArray(siprp.database.cayenne.objects.TrabalhadoresEcds obj) {
|
||||
removeToManyTarget("trabalhadoresEcdsArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresEcdsArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresEcdsArray");
|
||||
}
|
||||
|
||||
|
||||
public void addToTrabalhadoresFichasAptidaoArray(siprp.database.cayenne.objects.TrabalhadoresFichasAptidao obj) {
|
||||
addToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
public void removeFromTrabalhadoresFichasAptidaoArray(siprp.database.cayenne.objects.TrabalhadoresFichasAptidao obj) {
|
||||
removeToManyTarget("trabalhadoresFichasAptidaoArray", obj, true);
|
||||
}
|
||||
public java.util.List getTrabalhadoresFichasAptidaoArray() {
|
||||
return (java.util.List)readProperty("trabalhadoresFichasAptidaoArray");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
package siprp.database.cayenne.providers;
|
||||
|
||||
import org.apache.cayenne.access.DataContext;
|
||||
|
||||
public class MainDAO
|
||||
{
|
||||
protected static DataContext context = null;
|
||||
|
||||
public MainDAO()
|
||||
{
|
||||
if( context == null )
|
||||
{
|
||||
context = DataContext.createDataContext();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* String fileName = "/some/path/to/my-cayenne.xml";
|
||||
FileConfiguration conf = new FileConfiguration(new File(fileName));
|
||||
Configuration.initializeSharedConfiguration(conf);
|
||||
*/
|
||||
|
||||
}
|
||||
@ -0,0 +1,87 @@
|
||||
package siprp.database.cayenne.providers;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Vector;
|
||||
|
||||
import org.apache.cayenne.DataObjectUtils;
|
||||
import org.apache.cayenne.PersistenceState;
|
||||
import org.apache.cayenne.exp.ExpressionFactory;
|
||||
import org.apache.cayenne.query.SelectQuery;
|
||||
|
||||
import siprp.database.cayenne.objects.BaseObject;
|
||||
import siprp.database.cayenne.objects.Empresas;
|
||||
import siprp.database.cayenne.objects.Estabelecimentos;
|
||||
import siprp.database.cayenne.objects.Trabalhadores;
|
||||
|
||||
import com.evolute.utils.tables.ColumnizedMappable;
|
||||
|
||||
public class MedicinaDAO extends MainDAO
|
||||
{
|
||||
|
||||
public Trabalhadores getTrabalhadorByID( Integer id )
|
||||
{
|
||||
return (Trabalhadores) DataObjectUtils.objectForPK( context, Trabalhadores.class, id );
|
||||
}
|
||||
|
||||
public Vector<ColumnizedMappable> getAllEmpresas()
|
||||
{
|
||||
Vector<ColumnizedMappable> result = new Vector<ColumnizedMappable>();
|
||||
SelectQuery query = new SelectQuery( Empresas.class );
|
||||
query.andQualifier( ExpressionFactory.noMatchExp( Empresas.INACTIVO_PROPERTY, "y" ) );
|
||||
query.addOrdering( Empresas.DESIGNACAO_SOCIAL_PLAIN_PROPERTY, true );
|
||||
List<Empresas> allEmpresas = context.performQuery( query );
|
||||
for( Empresas currentEmpresa : allEmpresas )
|
||||
{
|
||||
Integer id = currentEmpresa.getId();
|
||||
String designacao = currentEmpresa.getDesignacaoSocialPlain().toUpperCase();
|
||||
result.add( new ColumnizedMappable( id, designacao ) );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public Vector<ColumnizedMappable> getEstabelecimentosForEmpresa( Integer empresaID )
|
||||
{
|
||||
Vector<ColumnizedMappable> result = new Vector<ColumnizedMappable>();
|
||||
SelectQuery query = new SelectQuery( Estabelecimentos.class, ExpressionFactory.matchExp( Estabelecimentos.TO_EMPRESAS_PROPERTY, empresaID ) );
|
||||
query.andQualifier( ExpressionFactory.noMatchExp( Estabelecimentos.INACTIVO_PROPERTY, "y" ) );
|
||||
query.addOrdering( Estabelecimentos.NOME_PLAIN_PROPERTY, true );
|
||||
List<Estabelecimentos> allEstabelecimentos = context.performQuery( query );
|
||||
for( Estabelecimentos currentEstabelecimento : allEstabelecimentos )
|
||||
{
|
||||
Integer id = currentEstabelecimento.getId();
|
||||
String designacao = currentEstabelecimento.getNomePlain().toUpperCase();
|
||||
result.add( new ColumnizedMappable( id, designacao ) );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public Vector<ColumnizedMappable> getTrabalhadoresForEstabelecimento( Integer estabelecimentoID )
|
||||
{
|
||||
Vector<ColumnizedMappable> result = new Vector<ColumnizedMappable>();
|
||||
SelectQuery query = new SelectQuery( Trabalhadores.class, ExpressionFactory.matchExp( Trabalhadores.TO_ESTABELECIMENTOS_PROPERTY, estabelecimentoID ) );
|
||||
query.andQualifier( ExpressionFactory.noMatchExp( Trabalhadores.INACTIVO_PROPERTY, "y" ) );
|
||||
query.addOrdering( Trabalhadores.NOME_PLAIN_PROPERTY, true );
|
||||
List<Trabalhadores> allTrabalhadores = context.performQuery( query );
|
||||
for( Trabalhadores currentTrabalhador : allTrabalhadores )
|
||||
{
|
||||
Integer id = currentTrabalhador.getId();
|
||||
String designacao = currentTrabalhador.getNomePlainCapital();
|
||||
result.add( new ColumnizedMappable( id, designacao ) );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public BaseObject saveObject( BaseObject object )
|
||||
{
|
||||
if( object != null )
|
||||
{
|
||||
if( object.getPersistenceState() == PersistenceState.NEW )
|
||||
{
|
||||
context.registerNewObject( object );
|
||||
}
|
||||
context.commitChanges();
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue