/* * TrabalhadoresEcd.java * * Generated by com.evutils.codegen.JDOObjectGenerator on May 14, 2007 * * Use but DON'T TOUCH */ package siprp.medicina.processo.data; import com.evolute.utils.jdo.*; public final class TrabalhadoresEcd implements JDOInnerObject { private Integer id; private Integer ecd_id; private Integer ecd_oficial_id; private Integer prestador_id; private Integer estado; private Integer trabalhadores_ecds_id; private Integer trabalhadores_ecds_datas_id; public TrabalhadoresEcd() { } public Object getField( String fieldName ) { if( fieldName == TrabalhadoresEcdData.ID ) { return id; } else if( fieldName == TrabalhadoresEcdData.ECD_ID ) { return ecd_id; } else if( fieldName == TrabalhadoresEcdData.ECD_OFICIAL_ID ) { return ecd_oficial_id; } else if( fieldName == TrabalhadoresEcdData.PRESTADOR_ID ) { return prestador_id; } else if( fieldName == TrabalhadoresEcdData.ESTADO ) { return estado; } else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) { return trabalhadores_ecds_id; } else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) { return trabalhadores_ecds_datas_id; } else if( fieldName.equals( TrabalhadoresEcdData.ID ) ) { return id; } else if( fieldName.equals( TrabalhadoresEcdData.ECD_ID ) ) { return ecd_id; } else if( fieldName.equals( TrabalhadoresEcdData.ECD_OFICIAL_ID ) ) { return ecd_oficial_id; } else if( fieldName.equals( TrabalhadoresEcdData.PRESTADOR_ID ) ) { return prestador_id; } else if( fieldName.equals( TrabalhadoresEcdData.ESTADO ) ) { return estado; } else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) ) { return trabalhadores_ecds_id; } else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) ) { return trabalhadores_ecds_datas_id; } return null; } public void setField( String fieldName, Object value ) { if( fieldName == TrabalhadoresEcdData.ID ) { id = ( Integer ) value; } else if( fieldName == TrabalhadoresEcdData.ECD_ID ) { ecd_id = ( Integer ) value; } else if( fieldName == TrabalhadoresEcdData.ECD_OFICIAL_ID ) { ecd_oficial_id = ( Integer ) value; } else if( fieldName == TrabalhadoresEcdData.PRESTADOR_ID ) { prestador_id = ( Integer ) value; } else if( fieldName == TrabalhadoresEcdData.ESTADO ) { estado = ( Integer ) value; } else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) { trabalhadores_ecds_id = ( Integer ) value; } else if( fieldName == TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) { trabalhadores_ecds_datas_id = ( Integer ) value; } else if( fieldName.equals( TrabalhadoresEcdData.ID ) ) { id = ( Integer ) value; } else if( fieldName.equals( TrabalhadoresEcdData.ECD_ID ) ) { ecd_id = ( Integer ) value; } else if( fieldName.equals( TrabalhadoresEcdData.ECD_OFICIAL_ID ) ) { ecd_oficial_id = ( Integer ) value; } else if( fieldName.equals( TrabalhadoresEcdData.PRESTADOR_ID ) ) { prestador_id = ( Integer ) value; } else if( fieldName.equals( TrabalhadoresEcdData.ESTADO ) ) { estado = ( Integer ) value; } else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_ID ) ) { trabalhadores_ecds_id = ( Integer ) value; } else if( fieldName.equals( TrabalhadoresEcdData.TRABALHADORES_ECDS_DATAS_ID ) ) { trabalhadores_ecds_datas_id = ( Integer ) value; } } public Class getOuterClass() { return TrabalhadoresEcdData.class; } }