]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/dbObjects/Assurance.java
fix: Avoid warning when PoJAM is disabled
[gigi.git] / src / org / cacert / gigi / dbObjects / Assurance.java
index 8f172e51a62f98aafd0d381fcc2b3b6400b3544c..dbcc20b6c2f290c75b842e2e35c4784c37b6eb98 100644 (file)
@@ -6,7 +6,7 @@ import org.cacert.gigi.dbObjects.wrappers.DataContainer;
 public class Assurance {
 
     public enum AssuranceType {
-        FACE_TO_FACE("Face to Face Meeting"), TOPUP("TOPUP"), TTP_ASSISTED("TTP-Assisted");
+        FACE_TO_FACE("Face to Face Meeting"), TOPUP("TOPUP"), TTP_ASSISTED("TTP-Assisted"), NUCLEUS("Nucleus Bonus");
 
         private final String description;
 
@@ -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;
     }