]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Name.java
UPD: Change the assurance API (and document it)
[gigi.git] / src / org / cacert / gigi / dbObjects / Name.java
index 512dc769b7ca0fbc69f22ae100ddddcfd01c02d5..e28bf2b26e2bbfb514eebc3e6e4f73d59b6c3a81 100644 (file)
@@ -6,7 +6,7 @@ import java.util.Map;
 import org.cacert.gigi.localisation.Language;
 import org.cacert.gigi.output.Outputable;
 
-public class Name implements Outputable {
+public class Name implements Outputable, Cloneable {
 
     String fname;
 
@@ -101,4 +101,13 @@ public class Name implements Outputable {
                 (mname != null && suffix != null && text.equals(fname + " " + mname + " " + lname + " " + suffix));
     }
 
+    @Override
+    protected Name clone() {
+        try {
+            return (Name) super.clone();
+        } catch (CloneNotSupportedException e) {
+            throw new Error(e);
+        }
+    }
+
 }