-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEvent.java
46 lines (37 loc) · 855 Bytes
/
Event.java
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 cep;
public class Event {
private Long Id;
private String Name;
private Long Volume;
public Event(Long id, String name, Long volume) {
Id = id;
Name = name;
Volume = volume;
}
public Long getId() {
return Id;
}
public void setId(Long id) {
Id = id;
}
public String getName() {
return Name;
}
public void setName(String name) {
Name = name;
}
public Long getVolume() {
return Volume;
}
public void setVolume(Long volume) {
Volume = volume;
}
@Override
public String toString() {
return "Event{" +
"Id=" + Id +
", Name='" + Name + '\'' +
", Volume=" + Volume +
'}';
}
}