Project

General

Profile

1
package eu.dnetlib.uoamonitorservice.entities;
2

    
3
import java.util.List;
4

    
5
public class ReorderEvent {
6
    private String action;  // "moved", "added", "removed"
7
    private String target;
8
    private List<String> ids;
9

    
10
    public String getAction() {
11
        return action;
12
    }
13

    
14
    public void setAction(String action) {
15
        this.action = action;
16
    }
17

    
18
    public String getTarget() {
19
        return target;
20
    }
21

    
22
    public void setTarget(String target) {
23
        this.target = target;
24
    }
25

    
26
    public List<String> getIds() {
27
        return ids;
28
    }
29

    
30
    public void setIds(List<String> ids) {
31
        this.ids = ids;
32
    }
33

    
34
    @Override
35
    public String toString() {
36
        return "ReorderEvent{" +
37
                "action='" + action + '\'' +
38
                ", target='" + target + '\'' +
39
                ", ids=" + ids +
40
                '}';
41
    }
42
}
(4-4/9)