java/sql-dk/src/info/globalcode/sql/dk/configuration/Property.java
branchv_0
changeset 105 39d8b427e20f
parent 104 245f1b88a3e6
     1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/configuration/Property.java	Tue Dec 31 17:35:33 2013 +0100
     1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/configuration/Property.java	Tue Dec 31 18:11:50 2013 +0100
     1.3 @@ -25,7 +25,7 @@
     1.4   *
     1.5   * @author Ing. František Kučera (frantovo.cz)
     1.6   */
     1.7 -public class Property implements NameIdentified {
     1.8 +public class Property implements NameIdentified, Cloneable {
     1.9  
    1.10  	private String name;
    1.11  	private String value;
    1.12 @@ -61,4 +61,9 @@
    1.13  	public String toString() {
    1.14  		return name + "='" + value + "'";
    1.15  	}
    1.16 +
    1.17 +	@Override
    1.18 +	protected Property clone() {
    1.19 +		return new Property(name, value);
    1.20 +	}
    1.21  }