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