@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 boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof StatusberichteClp)) { return false; } StatusberichteClp statusberichte = (StatusberichteClp) obj; long primaryKey = statusberichte.getPrimaryKey(); if (getPrimaryKey() == primaryKey) { return true; } else { return false; } }