Download this file

EventRecommendationResponse.java    47 lines (35 with data), 979 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package eu.alfred.recommendationengine.model;
import eu.alfred.eventmanager.model.Event;
import java.util.EnumSet;
/**
* Created by thardes on 20/04/2016.
*/
public class EventRecommendationResponse {
private Event event;
private EnumSet<RecommendationReason> reasons;
private int weight;
public EventRecommendationResponse(Event event, EnumSet<RecommendationReason> reasons, int weight)
{
this.event = event;
this.reasons = reasons;
this.weight = weight;
}
public Event getEvent() {
return event;
}
public void setEvent(Event event) {
this.event = event;
}
public EnumSet<RecommendationReason> getReasons() {
return reasons;
}
public void setReasons(EnumSet<RecommendationReason> reasons) {
this.reasons = reasons;
}
public int getWeight() {
return weight;
}
public void setWeight(int weight) {
this.weight = weight;
}
}