/*
* Ids.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 Ids implements JDOInnerObject
{
	private Integer id;

	public Ids()
	{
	}

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

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

	public Integer getId()
	{
		return id;
	}

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

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

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

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