@Override public void setModelAttributes(Map<String, Object> attributes) { Long id = (Long) attributes.get("id"); if (id != null) { setId(id); } Long project_id = (Long) attributes.get("project_id"); if (project_id != null) { setProject_id(project_id); } Date datum = (Date) attributes.get("datum"); if (datum != null) { setDatum(datum); } Integer kalenderwoche = (Integer) attributes.get("kalenderwoche"); if (kalenderwoche != null) { setKalenderwoche(kalenderwoche); } }
@Override public Object clone() { StatusberichteClp clone = new StatusberichteClp(); clone.setId(getId()); clone.setProject_id(getProject_id()); clone.setDatum(getDatum()); clone.setKalenderwoche(getKalenderwoche()); return clone; }
@Override public void setPrimaryKey(long primaryKey) { setId(primaryKey); }