a b/recommendation-engine/src/main/java/eu/alfred/event_manager/model/Review.java
1
package eu.alfred.event_manager.model;
2
3
public class Review {
4
5
  private String eventid;
6
  private String reviewerid;
7
  private String score;
8
  private boolean cane_friendly;
9
  private boolean wheelchair_friendly;
10
  private boolean rollator_friendly;
11
  private boolean healthy_friendly;
12
  private String remark;
13
  
14
  public String getEventid() {
15
      return eventid;
16
  }
17
  public void setEventid(String eventid) {
18
      this.eventid = eventid;
19
  }
20
  
21
  @Override
22
  public int hashCode() {
23
      final int prime = 31;
24
      int result = 1;
25
      result = prime * result + ((eventid == null) ? 0 : eventid.hashCode());
26
      return result;
27
  }
28
  @Override
29
  public boolean equals(Object obj) {
30
      if (this == obj)
31
          return true;
32
      if (obj == null)
33
          return false;
34
      if (getClass() != obj.getClass())
35
          return false;
36
      Review other = (Review) obj;
37
      if (eventid == null) {
38
          if (other.eventid != null)
39
              return false;
40
      } else if (!eventid.equals(other.eventid))
41
          return false;
42
      return true;
43
  }
44
  public String getScore() {
45
      return score;
46
  }
47
  public void setScore(String score) {
48
      this.score = score;
49
  }
50
  public boolean isCane_friendly() {
51
      return cane_friendly;
52
  }
53
  public void setCane_friendly(boolean cane_friendly) {
54
      this.cane_friendly = cane_friendly;
55
  }
56
  public boolean isWheelchair_friendly() {
57
      return wheelchair_friendly;
58
  }
59
  public void setWheelchair_friendly(boolean wheelchair_friendly) {
60
      this.wheelchair_friendly = wheelchair_friendly;
61
  }
62
  public boolean isRollator_friendly() {
63
      return rollator_friendly;
64
  }
65
  public void setRollator_friendly(boolean rollator_friendly) {
66
      this.rollator_friendly = rollator_friendly;
67
  }
68
  public boolean isHealthy_friendly() {
69
      return healthy_friendly;
70
  }
71
  public void setHealthy_friendly(boolean healthy_friendly) {
72
      this.healthy_friendly = healthy_friendly;
73
  }
74
  public String getRemark() {
75
      return remark;
76
  }
77
  public void setRemark(String remark) {
78
      this.remark = remark;
79
  }
80
  public String getReviewerid() {
81
      return reviewerid;
82
  }
83
  public void setReviewerid(String reviewerid) {
84
      this.reviewerid = reviewerid;
85
  }
86
      
87
  
88
}