java/sql-dk/src/info/globalcode/sql/dk/configuration/Property.java
branchv_0
changeset 105 39d8b427e20f
parent 104 245f1b88a3e6
--- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/Property.java	Tue Dec 31 17:35:33 2013 +0100
+++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/Property.java	Tue Dec 31 18:11:50 2013 +0100
@@ -25,7 +25,7 @@
  *
  * @author Ing. František Kučera (frantovo.cz)
  */
-public class Property implements NameIdentified {
+public class Property implements NameIdentified, Cloneable {
 
 	private String name;
 	private String value;
@@ -61,4 +61,9 @@
 	public String toString() {
 		return name + "='" + value + "'";
 	}
+
+	@Override
+	protected Property clone() {
+		return new Property(name, value);
+	}
 }