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.
		
		
		
		
		
			
		
			
				
					
					
						
							221 lines
						
					
					
						
							4.8 KiB
						
					
					
				
			
		
		
	
	
							221 lines
						
					
					
						
							4.8 KiB
						
					
					
				/*
 | 
						|
* Estabelecimento.java
 | 
						|
*
 | 
						|
* Generated by com.evutils.codegen.JDOObjectGenerator on 24/Nov/2005
 | 
						|
*
 | 
						|
* Use but DON'T TOUCH
 | 
						|
*/
 | 
						|
package siprp.data;
 | 
						|
 | 
						|
import java.util.Date;
 | 
						|
import com.evolute.utils.jdo.*;
 | 
						|
 | 
						|
public final class Estabelecimento implements JDOInnerObject
 | 
						|
{
 | 
						|
	private Integer id;
 | 
						|
	private String nome;
 | 
						|
	private String nome_plain;
 | 
						|
	private String morada;
 | 
						|
	private String codigo_postal;
 | 
						|
	private String localidade;
 | 
						|
	private String historico;
 | 
						|
	private Empresa empresa;
 | 
						|
	private Contacto contacto;
 | 
						|
	private String inactivo;
 | 
						|
	private Date actualizacao;
 | 
						|
 | 
						|
	public Estabelecimento()
 | 
						|
	{
 | 
						|
	}
 | 
						|
 | 
						|
	public Object getField( String fieldName )
 | 
						|
	{
 | 
						|
		if( fieldName == EstabelecimentoData.ID )
 | 
						|
		{
 | 
						|
			return id;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.NOME )
 | 
						|
		{
 | 
						|
			return nome;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.NOME_PLAIN )
 | 
						|
		{
 | 
						|
			return nome_plain;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.MORADA )
 | 
						|
		{
 | 
						|
			return morada;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.CODIGO_POSTAL )
 | 
						|
		{
 | 
						|
			return codigo_postal;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.LOCALIDADE )
 | 
						|
		{
 | 
						|
			return localidade;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.HISTORICO )
 | 
						|
		{
 | 
						|
			return historico;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.EMPRESA )
 | 
						|
		{
 | 
						|
			return empresa;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.CONTACTO )
 | 
						|
		{
 | 
						|
			return contacto;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.INACTIVO )
 | 
						|
		{
 | 
						|
			return inactivo;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.ACTUALIZACAO )
 | 
						|
		{
 | 
						|
			return actualizacao;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.ID ) )
 | 
						|
		{
 | 
						|
			return id;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.NOME ) )
 | 
						|
		{
 | 
						|
			return nome;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.NOME_PLAIN ) )
 | 
						|
		{
 | 
						|
			return nome_plain;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.MORADA ) )
 | 
						|
		{
 | 
						|
			return morada;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.CODIGO_POSTAL ) )
 | 
						|
		{
 | 
						|
			return codigo_postal;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.LOCALIDADE ) )
 | 
						|
		{
 | 
						|
			return localidade;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.HISTORICO ) )
 | 
						|
		{
 | 
						|
			return historico;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.EMPRESA ) )
 | 
						|
		{
 | 
						|
			return empresa;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.CONTACTO ) )
 | 
						|
		{
 | 
						|
			return contacto;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.INACTIVO ) )
 | 
						|
		{
 | 
						|
			return inactivo;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.ACTUALIZACAO ) )
 | 
						|
		{
 | 
						|
			return actualizacao;
 | 
						|
		}
 | 
						|
		return null;
 | 
						|
	}
 | 
						|
 | 
						|
	public void setField( String fieldName, Object value )
 | 
						|
	{
 | 
						|
		if( fieldName == EstabelecimentoData.ID )
 | 
						|
		{
 | 
						|
			id = ( Integer ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.NOME )
 | 
						|
		{
 | 
						|
			nome = ( String ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.NOME_PLAIN )
 | 
						|
		{
 | 
						|
			nome_plain = ( String ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.MORADA )
 | 
						|
		{
 | 
						|
			morada = ( String ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.CODIGO_POSTAL )
 | 
						|
		{
 | 
						|
			codigo_postal = ( String ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.LOCALIDADE )
 | 
						|
		{
 | 
						|
			localidade = ( String ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.HISTORICO )
 | 
						|
		{
 | 
						|
			historico = ( String ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.EMPRESA )
 | 
						|
		{
 | 
						|
			empresa = ( Empresa ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.CONTACTO )
 | 
						|
		{
 | 
						|
			contacto = ( Contacto ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.INACTIVO )
 | 
						|
		{
 | 
						|
			inactivo = ( String ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName == EstabelecimentoData.ACTUALIZACAO )
 | 
						|
		{
 | 
						|
			actualizacao = ( Date ) value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.ID ) )
 | 
						|
		{
 | 
						|
			id = ( Integer )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.NOME ) )
 | 
						|
		{
 | 
						|
			nome = ( String )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.NOME_PLAIN ) )
 | 
						|
		{
 | 
						|
			nome_plain = ( String )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.MORADA ) )
 | 
						|
		{
 | 
						|
			morada = ( String )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.CODIGO_POSTAL ) )
 | 
						|
		{
 | 
						|
			codigo_postal = ( String )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.LOCALIDADE ) )
 | 
						|
		{
 | 
						|
			localidade = ( String )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.HISTORICO ) )
 | 
						|
		{
 | 
						|
			historico = ( String )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.EMPRESA ) )
 | 
						|
		{
 | 
						|
			empresa = ( Empresa )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.CONTACTO ) )
 | 
						|
		{
 | 
						|
			contacto = ( Contacto )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.INACTIVO ) )
 | 
						|
		{
 | 
						|
			inactivo = ( String )  value;
 | 
						|
		}
 | 
						|
		else if( fieldName.equals( EstabelecimentoData.ACTUALIZACAO ) )
 | 
						|
		{
 | 
						|
			actualizacao = ( Date )  value;
 | 
						|
		}
 | 
						|
	}
 | 
						|
 | 
						|
	public Class getOuterClass()
 | 
						|
	{
 | 
						|
		return EstabelecimentoData.class;
 | 
						|
	}
 | 
						|
}
 |