Rename interface Modify to Modifiable.
[staff/due1/sed-hs15-srs-purple.git] / src / main / java / ch / bfh / ti / srs / dataschema / Modifiable.java
CommitLineData
d103d4ec
MT
1/*\r
2 * Copyright (c) 2015 Berner Fachhochschule, Switzerland.\r
3 *\r
4 * Project Smart Reservation System.\r
5 *\r
6 * Distributable under GPL license. See terms of license at gnu.org.\r
7 */\r
8package ch.bfh.ti.srs.dataschema;\r
9\r
10/**\r
11 * Specifies the interface checking if the Object got modified.\r
12 */\r
13\r
14public interface Modifiable extends Cloneable {\r
15\r
16 /**\r
17 * Checks if any of the updatable variables got changed.\r
18 * @param obj\r
19 * object to modify\r
20 * @return true if something got changed and false if no change happened.\r
21 */\r
22 public boolean isModified(Object obj);\r
23\r
24 /*\r
25 * (non-Javadoc)\r
26 * @see java.lang.Object#clone()\r
27 */\r
28 public Object clone() throws CloneNotSupportedException;\r
29}\r