forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
237 lines
5.0 KiB
237 lines
5.0 KiB
/*
|
|
* Prestadores.java
|
|
*
|
|
* Generated by com.evutils.codegen.JDOObjectGenerator on Feb 21, 2007
|
|
*
|
|
* Use but DON'T TOUCH
|
|
*/
|
|
package siprp.medicina.prestadores.data;
|
|
|
|
import com.evolute.utils.jdo.*;
|
|
|
|
public final class Prestadores implements JDOInnerObject
|
|
{
|
|
private Integer id;
|
|
private String nome;
|
|
private String nome_plain;
|
|
private String morada;
|
|
private String codigo_postal;
|
|
private String localidade;
|
|
private String localidade_cp;
|
|
private Integer contacto_id;
|
|
private String activo;
|
|
private String faz_consultas;
|
|
private String faz_ecds;
|
|
private String contribuinte;
|
|
|
|
public Prestadores()
|
|
{
|
|
}
|
|
|
|
public Object getField( String fieldName )
|
|
{
|
|
if( fieldName == PrestadoresData.ID )
|
|
{
|
|
return id;
|
|
}
|
|
else if( fieldName == PrestadoresData.NOME )
|
|
{
|
|
return nome;
|
|
}
|
|
else if( fieldName == PrestadoresData.NOME_PLAIN )
|
|
{
|
|
return nome_plain;
|
|
}
|
|
else if( fieldName == PrestadoresData.MORADA )
|
|
{
|
|
return morada;
|
|
}
|
|
else if( fieldName == PrestadoresData.CODIGO_POSTAL )
|
|
{
|
|
return codigo_postal;
|
|
}
|
|
else if( fieldName == PrestadoresData.LOCALIDADE )
|
|
{
|
|
return localidade;
|
|
}
|
|
else if( fieldName == PrestadoresData.LOCALIDADE_CP )
|
|
{
|
|
return localidade_cp;
|
|
}
|
|
else if( fieldName == PrestadoresData.CONTACTO_ID )
|
|
{
|
|
return contacto_id;
|
|
}
|
|
else if( fieldName == PrestadoresData.ACTIVO )
|
|
{
|
|
return activo;
|
|
}
|
|
else if( fieldName == PrestadoresData.FAZ_CONSULTAS )
|
|
{
|
|
return faz_consultas;
|
|
}
|
|
else if( fieldName == PrestadoresData.FAZ_ECDS )
|
|
{
|
|
return faz_ecds;
|
|
}
|
|
else if( fieldName == PrestadoresData.CONTRIBUINTE )
|
|
{
|
|
return contribuinte;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.ID ) )
|
|
{
|
|
return id;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.NOME ) )
|
|
{
|
|
return nome;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.NOME_PLAIN ) )
|
|
{
|
|
return nome_plain;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.MORADA ) )
|
|
{
|
|
return morada;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.CODIGO_POSTAL ) )
|
|
{
|
|
return codigo_postal;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.LOCALIDADE ) )
|
|
{
|
|
return localidade;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.LOCALIDADE_CP ) )
|
|
{
|
|
return localidade_cp;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.CONTACTO_ID ) )
|
|
{
|
|
return contacto_id;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.ACTIVO ) )
|
|
{
|
|
return activo;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.FAZ_CONSULTAS ) )
|
|
{
|
|
return faz_consultas;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.FAZ_ECDS ) )
|
|
{
|
|
return faz_ecds;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.CONTRIBUINTE ) )
|
|
{
|
|
return contribuinte;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public void setField( String fieldName, Object value )
|
|
{
|
|
if( fieldName == PrestadoresData.ID )
|
|
{
|
|
id = ( Integer ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.NOME )
|
|
{
|
|
nome = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.NOME_PLAIN )
|
|
{
|
|
nome_plain = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.MORADA )
|
|
{
|
|
morada = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.CODIGO_POSTAL )
|
|
{
|
|
codigo_postal = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.LOCALIDADE )
|
|
{
|
|
localidade = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.LOCALIDADE_CP )
|
|
{
|
|
localidade_cp = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.CONTACTO_ID )
|
|
{
|
|
contacto_id = ( Integer ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.ACTIVO )
|
|
{
|
|
activo = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.FAZ_CONSULTAS )
|
|
{
|
|
faz_consultas = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.FAZ_ECDS )
|
|
{
|
|
faz_ecds = ( String ) value;
|
|
}
|
|
else if( fieldName == PrestadoresData.CONTRIBUINTE )
|
|
{
|
|
contribuinte = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.ID ) )
|
|
{
|
|
id = ( Integer ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.NOME ) )
|
|
{
|
|
nome = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.NOME_PLAIN ) )
|
|
{
|
|
nome_plain = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.MORADA ) )
|
|
{
|
|
morada = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.CODIGO_POSTAL ) )
|
|
{
|
|
codigo_postal = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.LOCALIDADE ) )
|
|
{
|
|
localidade = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.LOCALIDADE_CP ) )
|
|
{
|
|
localidade_cp = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.CONTACTO_ID ) )
|
|
{
|
|
contacto_id = ( Integer ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.ACTIVO ) )
|
|
{
|
|
activo = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.FAZ_CONSULTAS ) )
|
|
{
|
|
faz_consultas = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.FAZ_ECDS ) )
|
|
{
|
|
faz_ecds = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( PrestadoresData.CONTRIBUINTE ) )
|
|
{
|
|
contribuinte = ( String ) value;
|
|
}
|
|
}
|
|
|
|
public Class getOuterClass()
|
|
{
|
|
return PrestadoresData.class;
|
|
}
|
|
}
|