@Override public Object clone() { Statusbericht_detail_punktClp clone = new Statusbericht_detail_punktClp(); clone.setId(getId()); clone.setName(getName()); return clone; }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Statusbericht_detail_punktClp)) { return false; } Statusbericht_detail_punktClp statusbericht_detail_punkt = (Statusbericht_detail_punktClp) obj; long primaryKey = statusbericht_detail_punkt.getPrimaryKey(); if (getPrimaryKey() == primaryKey) { return true; } else { return false; } }