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

import com.evolute.utils.jdo.*;

public final class Recomendacoes implements JDOInnerObject
{
	private Integer id;
	private Integer analise_id;
	private String recomendacao;

	public Recomendacoes()
	{
	}

	public Object getField( String fieldName )
	{
		if( fieldName == RecomendacoesDataAuto.ID )
		{
			return id;
		}
		else if( fieldName == RecomendacoesDataAuto.ANALISE_ID )
		{
			return analise_id;
		}
		else if( fieldName == RecomendacoesDataAuto.RECOMENDACAO )
		{
			return recomendacao;
		}
		else if( fieldName.equals( RecomendacoesDataAuto.ID ) )
		{
			return id;
		}
		else if( fieldName.equals( RecomendacoesDataAuto.ANALISE_ID ) )
		{
			return analise_id;
		}
		else if( fieldName.equals( RecomendacoesDataAuto.RECOMENDACAO ) )
		{
			return recomendacao;
		}
		return null;
	}

	public void setField( String fieldName, Object value )
	{
		 if( fieldName == RecomendacoesDataAuto.ID )
		{
			id = ( Integer ) value;
		}
		else if( fieldName == RecomendacoesDataAuto.ANALISE_ID )
		{
			analise_id = ( Integer ) value;
		}
		else if( fieldName == RecomendacoesDataAuto.RECOMENDACAO )
		{
			recomendacao = ( String ) value;
		}
		else if( fieldName.equals( RecomendacoesDataAuto.ID ) )
		{
			id = ( Integer )  value;
		}
		else if( fieldName.equals( RecomendacoesDataAuto.ANALISE_ID ) )
		{
			analise_id = ( Integer )  value;
		}
		else if( fieldName.equals( RecomendacoesDataAuto.RECOMENDACAO ) )
		{
			recomendacao = ( String )  value;
		}
	}

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer idValue )
	{
		this.id = idValue;
	}

	public Integer getAnalise_id()
	{
		return analise_id;
	}

	public void setAnalise_id(Integer analise_idValue )
	{
		this.analise_id = analise_idValue;
	}

	public String getRecomendacao()
	{
		return recomendacao;
	}

	public void setRecomendacao(String recomendacaoValue )
	{
		this.recomendacao = recomendacaoValue;
	}

	public Class<RecomendacoesDataAuto> getOuterClass()
	{
		return RecomendacoesDataAuto.class;
	}

	public RecomendacoesDataAuto getOuterClassInstance()
	{
		RecomendacoesDataAuto outerObj = new RecomendacoesDataAuto();
		outerObj.setInnerObject(this);
		return outerObj;
	}

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