]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Assurance.java
add: Allow multiple names, name-schemes, multi-name-assurance, etc.
[gigi.git] / src / org / cacert / gigi / dbObjects / Assurance.java
index 65a5a59945e98deb1a0f42a57bf322540eb6825d..dbcc20b6c2f290c75b842e2e35c4784c37b6eb98 100644 (file)
@@ -23,7 +23,7 @@ public class Assurance {
 
     private User from;
 
-    private User to;
+    private Name to;
 
     private String location;
 
@@ -33,7 +33,7 @@ public class Assurance {
 
     private String date;
 
-    public Assurance(int id, User from, User to, String location, String method, int points, String date) {
+    public Assurance(int id, User from, Name to, String location, String method, int points, String date) {
         this.id = id;
         this.from = from;
         this.to = to;
@@ -60,7 +60,7 @@ public class Assurance {
         return points;
     }
 
-    public User getTo() {
+    public Name getTo() {
         return to;
     }