@Override protected void setDomainProperty(final DClass domain, final String name, final Object value) { // simple key? if (COLUMN_NAME_ID.equals(name)) { domain.setId((java.lang.Long) value); } // parent key? else if (COLUMN_NAME_RACEKEY.equals(name)) { domain.setRaceKey((java.lang.Object) value); } // fields else if (COLUMN_NAME_ACTUALSTART.equals(name)) { domain.setActualStart((java.util.Date) value); } else if (COLUMN_NAME_CREATEDBY.equals(name)) { domain.setCreatedBy((java.lang.String) value); } else if (COLUMN_NAME_CREATEDDATE.equals(name)) { domain.setCreatedDate((java.util.Date) value); } else if (COLUMN_NAME_NAME.equals(name)) { domain.setName((java.lang.String) value); } else if (COLUMN_NAME_SCHEDULEDSTART.equals(name)) { domain.setScheduledStart((java.util.Date) value); } else if (COLUMN_NAME_UPDATEDBY.equals(name)) { domain.setUpdatedBy((java.lang.String) value); } else if (COLUMN_NAME_UPDATEDDATE.equals(name)) { domain.setUpdatedDate((java.util.Date) value); } // one-to-ones // many-to-ones else if (COLUMN_NAME_TRACK.equals(name)) { DTrack foreign = null; if (null != value) { foreign = trackDao.createDomain(value); } domain.setTrack(foreign); } // many-to-manys else { super.setDomainProperty(domain, name, value); } }
public void _setUpdatedDate(DClass domain, Date date) { domain.setUpdatedDate(date); }