/*
* HsRelatorioRiscoValorQualitativo.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.*;

public final class HsRelatorioRiscoValorQualitativo implements JDOInnerObject
{
	private Integer id;
	private String description;

	public HsRelatorioRiscoValorQualitativo()
	{
	}

	public Object getField( String fieldName )
	{
		if( fieldName == HsRelatorioRiscoValorQualitativoDataAuto.ID )
		{
			return id;
		}
		else if( fieldName == HsRelatorioRiscoValorQualitativoDataAuto.DESCRIPTION )
		{
			return description;
		}
		else if( fieldName.equals( HsRelatorioRiscoValorQualitativoDataAuto.ID ) )
		{
			return id;
		}
		else if( fieldName.equals( HsRelatorioRiscoValorQualitativoDataAuto.DESCRIPTION ) )
		{
			return description;
		}
		return null;
	}

	public void setField( String fieldName, Object value )
	{
		 if( fieldName == HsRelatorioRiscoValorQualitativoDataAuto.ID )
		{
			id = ( Integer ) value;
		}
		else if( fieldName == HsRelatorioRiscoValorQualitativoDataAuto.DESCRIPTION )
		{
			description = ( String ) value;
		}
		else if( fieldName.equals( HsRelatorioRiscoValorQualitativoDataAuto.ID ) )
		{
			id = ( Integer )  value;
		}
		else if( fieldName.equals( HsRelatorioRiscoValorQualitativoDataAuto.DESCRIPTION ) )
		{
			description = ( String )  value;
		}
	}

	public Integer getId()
	{
		return id;
	}

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

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String descriptionValue )
	{
		this.description = descriptionValue;
	}

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

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

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