getLoggedUserCopy() added
[staff/due1/sed-hs15-srs-purple.git] / src / main / java / ch / bfh / ti / srs / dataschema / Reservation.java
index fe84e7f..5433043 100644 (file)
@@ -11,7 +11,7 @@ import java.util.UUID;
 \r
 import ch.bfh.ti.daterange.DateRange;\r
 \r
-public class Reservation {\r
+public class Reservation implements Cloneable{\r
 \r
        private UUID id;\r
        private UUID groupId;\r
@@ -78,4 +78,9 @@ public class Reservation {
        public void setRemark(String remark) {\r
                this.remark = remark;\r
        }\r
+       \r
+       @Override\r
+       public Reservation clone() throws CloneNotSupportedException {\r
+        return (Reservation)super.clone();\r
+    }\r
 }\r