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.
101 lines
1.8 KiB
101 lines
1.8 KiB
/*
|
|
* Medico.java
|
|
*
|
|
* Generated by com.evutils.codegen.JDOObjectGenerator on 27/Jan/2005
|
|
*
|
|
* Use but DON'T TOUCH
|
|
*/
|
|
package siprp.data;
|
|
|
|
import com.evolute.utils.jdo.*;
|
|
|
|
public final class Medico implements JDOInnerObject
|
|
{
|
|
private Integer id;
|
|
private String nome;
|
|
private String numero_cedula;
|
|
private String inactivo;
|
|
|
|
public Medico()
|
|
{
|
|
}
|
|
|
|
public Object getField( String fieldName )
|
|
{
|
|
if( fieldName == MedicoData.ID )
|
|
{
|
|
return id;
|
|
}
|
|
else if( fieldName == MedicoData.NOME )
|
|
{
|
|
return nome;
|
|
}
|
|
else if( fieldName == MedicoData.NUMERO_CEDULA )
|
|
{
|
|
return numero_cedula;
|
|
}
|
|
else if( fieldName == MedicoData.INACTIVO )
|
|
{
|
|
return inactivo;
|
|
}
|
|
else if( fieldName.equals( MedicoData.ID ) )
|
|
{
|
|
return id;
|
|
}
|
|
else if( fieldName.equals( MedicoData.NOME ) )
|
|
{
|
|
return nome;
|
|
}
|
|
else if( fieldName.equals( MedicoData.NUMERO_CEDULA ) )
|
|
{
|
|
return numero_cedula;
|
|
}
|
|
else if( fieldName.equals( MedicoData.INACTIVO ) )
|
|
{
|
|
return inactivo;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public void setField( String fieldName, Object value )
|
|
{
|
|
if( fieldName == MedicoData.ID )
|
|
{
|
|
id = ( Integer ) value;
|
|
}
|
|
else if( fieldName == MedicoData.NOME )
|
|
{
|
|
nome = ( String ) value;
|
|
}
|
|
else if( fieldName == MedicoData.NUMERO_CEDULA )
|
|
{
|
|
numero_cedula = ( String ) value;
|
|
}
|
|
else if( fieldName == MedicoData.INACTIVO )
|
|
{
|
|
inactivo = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( MedicoData.ID ) )
|
|
{
|
|
id = ( Integer ) value;
|
|
}
|
|
else if( fieldName.equals( MedicoData.NOME ) )
|
|
{
|
|
nome = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( MedicoData.NUMERO_CEDULA ) )
|
|
{
|
|
numero_cedula = ( String ) value;
|
|
}
|
|
else if( fieldName.equals( MedicoData.INACTIVO ) )
|
|
{
|
|
inactivo = ( String ) value;
|
|
}
|
|
}
|
|
|
|
public Class getOuterClass()
|
|
{
|
|
return MedicoData.class;
|
|
}
|
|
}
|