forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.3 KiB
64 lines
1.3 KiB
/*
|
|
* 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;
|
|
}
|
|
}
|