/*
* HsNormalizacaoDataAuto.java
*
* Generated by com.evutils.codegen.JDOObjectGenerator
*
* Use but DON'T TOUCH
*/
package com.evolute.siprp.server.db.data.siprp_local3;

import com.evolute.utils.jdo.*;
import java.util.HashMap;
import java.util.Map;

class HsNormalizacaoDataAuto extends JDOObject
{

	public static final String TABLENAME = "hs_normalizacao";

	public static final String ID = "id";
	public static final String ID_FULL = "hs_normalizacao.id";
	public static final String CODIGO = "codigo";
	public static final String CODIGO_FULL = "hs_normalizacao.codigo";
	public static final String DESCRICAO = "descricao";
	public static final String DESCRICAO_FULL = "hs_normalizacao.descricao";
	public static final String PORTUGUESA = "portuguesa";
	public static final String PORTUGUESA_FULL = "hs_normalizacao.portuguesa";
	public static final String DELETED_DATE = "deleted_date";
	public static final String DELETED_DATE_FULL = "hs_normalizacao.deleted_date";

	public static final String FIELD_NAMES[] = new String[]{
		CODIGO, DESCRICAO, PORTUGUESA, DELETED_DATE, };


	protected static final String ALL_FIELD_NAMES[] = new String[]{
		ID, CODIGO, DESCRICAO, PORTUGUESA, DELETED_DATE, };

	private Map<String, Object> dataHash;

	public HsNormalizacaoDataAuto()
	{
		dataHash = new HashMap<String, Object>();
	}

	public Integer getId()
	{
		return (Integer) get(ID);
	}

	public void setId(Integer idValue )
	{
		this.set(ID, idValue );
	}

	public String getCodigo()
	{
		return (String) get(CODIGO);
	}

	public void setCodigo(String codigoValue )
	{
		this.set(CODIGO, codigoValue );
	}

	public String getDescricao()
	{
		return (String) get(DESCRICAO);
	}

	public void setDescricao(String descricaoValue )
	{
		this.set(DESCRICAO, descricaoValue );
	}

	public Boolean getPortuguesa()
	{
		return (Boolean) get(PORTUGUESA);
	}

	public void setPortuguesa(Boolean portuguesaValue )
	{
		this.set(PORTUGUESA, portuguesaValue );
	}

	public java.sql.Timestamp getDeleted_date()
	{
		return (java.sql.Timestamp) get(DELETED_DATE);
	}

	public void setDeleted_date(java.sql.Timestamp deleted_dateValue )
	{
		this.set(DELETED_DATE, deleted_dateValue );
	}

	protected Object innerGet( String fieldName )
		throws Exception
	{
		Object value = null;
		value = dataHash.get( fieldName );
		return value;
	}

	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<HsNormalizacao> getInnerClass()
	{
		return HsNormalizacao.class;
	}

	public Integer getJDOPrimaryKey()
	{
		Object obj = this.getId();
		if(obj instanceof JDOObject){
			 obj = ((JDOObject) obj).getInnerObject();
		}
		return (Integer) obj;
	}
}
