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.
		
		
		
		
		
			
		
			
				
					
					
						
							70 lines
						
					
					
						
							1.7 KiB
						
					
					
				
			
		
		
	
	
							70 lines
						
					
					
						
							1.7 KiB
						
					
					
				/*
 | 
						|
* EstabelecimentoData.java
 | 
						|
*
 | 
						|
* Generated by com.evutils.codegen.JDOObjectGenerator on 24/Nov/2005
 | 
						|
*
 | 
						|
* Use but DON'T TOUCH
 | 
						|
*/
 | 
						|
package siprp.data;
 | 
						|
 | 
						|
import java.util.HashMap;
 | 
						|
import com.evolute.utils.jdo.*;
 | 
						|
 | 
						|
public final class EstabelecimentoData extends JDOObject
 | 
						|
	implements DisableDeleteable, ActualizacaoSaveable
 | 
						|
{
 | 
						|
	public static final String ID = "id";
 | 
						|
	public static final String NOME = "nome";
 | 
						|
	public static final String NOME_PLAIN = "nome_plain";
 | 
						|
	public static final String MORADA = "morada";
 | 
						|
	public static final String CODIGO_POSTAL = "codigo_postal";
 | 
						|
	public static final String LOCALIDADE = "localidade";
 | 
						|
	public static final String HISTORICO = "historico";
 | 
						|
	public static final String EMPRESA = "empresa";
 | 
						|
	public static final String CONTACTO = "contacto";
 | 
						|
	public static final String INACTIVO = "inactivo";
 | 
						|
	public static final String ACTUALIZACAO = "actualizacao";
 | 
						|
 | 
						|
	public static final String FIELD_NAMES[] = new String[]{
 | 
						|
		NOME, NOME_PLAIN, MORADA, CODIGO_POSTAL, LOCALIDADE, HISTORICO, EMPRESA, CONTACTO, };
 | 
						|
 | 
						|
 | 
						|
	protected static final String ALL_FIELD_NAMES[] = new String[]{
 | 
						|
		ID, NOME, NOME_PLAIN, MORADA, CODIGO_POSTAL, LOCALIDADE, HISTORICO, EMPRESA, CONTACTO, 
 | 
						|
		INACTIVO, ACTUALIZACAO, };
 | 
						|
 | 
						|
	private HashMap dataHash;
 | 
						|
 | 
						|
	public EstabelecimentoData()
 | 
						|
	{
 | 
						|
		dataHash = new HashMap();
 | 
						|
	}
 | 
						|
 | 
						|
	protected Object innerGet( String fieldName )
 | 
						|
		throws Exception
 | 
						|
	{
 | 
						|
		return dataHash.get( fieldName );
 | 
						|
	}
 | 
						|
 | 
						|
	protected void innerSet( String fieldName, Object value )
 | 
						|
		throws Exception
 | 
						|
	{
 | 
						|
		dataHash.put( fieldName, value );
 | 
						|
	}
 | 
						|
 | 
						|
	public String []getFieldNames()
 | 
						|
	{
 | 
						|
		return FIELD_NAMES;
 | 
						|
	}
 | 
						|
 | 
						|
	protected String []getAllFieldNames()
 | 
						|
	{
 | 
						|
		return ALL_FIELD_NAMES;
 | 
						|
	}
 | 
						|
 | 
						|
	public Class getInnerClass()
 | 
						|
	{
 | 
						|
		return Estabelecimento.class;
 | 
						|
	}
 | 
						|
}
 |