public final void setValues(auto.dal.db.vo.PersonEthnicity valueObject) { values.getByColumnIndex(COLINDEX_CR_STAMP).setValue(valueObject.getCrStamp()); values.getByColumnIndex(COLINDEX_CR_SESS_ID).setValue(valueObject.getCrSessId()); values.getByColumnIndex(COLINDEX_REC_STAT_ID).setValue(valueObject.getRecStatId()); values.getByColumnIndex(COLINDEX_SYSTEM_ID).setValue(valueObject.getSystemId()); values.getByColumnIndex(COLINDEX_PERSON_ID).setValue(valueObject.getPersonId()); values.getByColumnIndex(COLINDEX_ETHNICITY_ID).setValue(valueObject.getEthnicityId()); values.getByColumnIndex(COLINDEX_ETHNICITY).setValue(valueObject.getEthnicity()); }
public final auto.dal.db.vo.PersonEthnicity getValues( auto.dal.db.vo.PersonEthnicity valueObject) { valueObject.setCrStamp( (java.util.Date) values.getByColumnIndex(COLINDEX_CR_STAMP).getValue()); valueObject.setCrSessId( (java.lang.String) values.getByColumnIndex(COLINDEX_CR_SESS_ID).getValue()); valueObject.setRecStatId( (java.lang.Integer) values.getByColumnIndex(COLINDEX_REC_STAT_ID).getValue()); valueObject.setSystemId( (java.lang.String) values.getByColumnIndex(COLINDEX_SYSTEM_ID).getValue()); valueObject.setPersonId( (java.lang.Long) values.getByColumnIndex(COLINDEX_PERSON_ID).getValue()); valueObject.setEthnicityId( (java.lang.Integer) values.getByColumnIndex(COLINDEX_ETHNICITY_ID).getValue()); valueObject.setEthnicity( (java.lang.String) values.getByColumnIndex(COLINDEX_ETHNICITY).getValue()); return valueObject; }