/*
* ContactoData.java
*
* Generated by com.evutils.codegen.JDOObjectGenerator on 13/Out/2004
*
* Use but DON'T TOUCH
*/
package siprp.data;

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

public final class ContactoData extends JDOObject
{
	public static final String ID = "id";
	public static final String NOME = "nome";
	public static final String CARGO = "cargo";
	public static final String TELEFONE = "telefone";
	public static final String TELEMOVEL = "telemovel";
	public static final String FAX = "fax";
	public static final String EMAIL = "email";

	public static final String FIELD_NAMES[] = new String[]{
		NOME, CARGO, TELEFONE, TELEMOVEL, FAX, EMAIL, };


	protected static final String ALL_FIELD_NAMES[] = new String[]{
		ID, NOME, CARGO, TELEFONE, TELEMOVEL, FAX, EMAIL, };

	private HashMap dataHash;

	public ContactoData()
	{
		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 Contacto.class;
	}
}
