1 package org.cacert.gigi.dbObjects;
3 import org.cacert.gigi.database.GigiResultSet;
5 public class Assurance {
13 private String location;
15 private String method;
21 public Assurance(GigiResultSet res) {
23 this.id = res.getInt("id");
24 this.from = User.getById(res.getInt("from"));
25 this.to = User.getById(res.getInt("to"));
26 this.location = res.getString("location");
27 this.method = res.getString("method");
28 this.points = res.getInt("points");
29 this.date = res.getString("date");
32 public User getFrom() {
40 public String getLocation() {
44 public int getPoints() {
52 public String getMethod() {
56 public String getDate() {