Project

General

Profile

1
package eu.dnetlib.uoaadmintoolslibrary.entities;
2

    
3
import com.fasterxml.jackson.annotation.JsonProperty;
4
import org.springframework.data.annotation.Id;
5

    
6
import java.util.List;
7

    
8
public class Page {
9
    @Id
10
    @JsonProperty("_id")
11
    private String id;
12

    
13
    private String route;
14
    private String name;
15
    private String type;
16
    private List<String> entities;
17
    private Boolean connect;
18
    private Boolean communities;
19
    private Boolean openaire;
20

    
21
    // Positions where help texts are allowed for this page
22
    private Boolean top;
23
    private Boolean bottom;
24
    private Boolean left;
25
    private Boolean right;
26

    
27
    public Page() {}
28

    
29
    public String getId() {
30
        return id;
31
    }
32

    
33
    public void setId(String id) {
34
        this.id = id;
35
    }
36

    
37
    public String getRoute() {
38
        return route;
39
    }
40

    
41
    public void setRoute(String route) {
42
        this.route = route;
43
    }
44

    
45
    public String getName() {
46
        return name;
47
    }
48

    
49
    public void setName(String name) {
50
        this.name = name;
51
    }
52

    
53
    public String getType() {
54
        return type;
55
    }
56

    
57
    public void setType(String type) {
58
        this.type = type;
59
    }
60

    
61
    public List<String> getEntities() { return entities; }
62

    
63
    public void setEntities(List<String> entities) { this.entities = entities; }
64

    
65
    public Boolean getConnect() {
66
        return connect;
67
    }
68

    
69
    public void setConnect(Boolean connect) { this.connect = connect; }
70

    
71
    public Boolean getCommunities() {
72
        return communities;
73
    }
74

    
75
    public void setCommunities(Boolean communities) {
76
        this.communities = communities;
77
    }
78

    
79
    public Boolean getOpenaire() {
80
        return openaire;
81
    }
82

    
83
    public void setOpenaire(Boolean openaire) {
84
        this.openaire = openaire;
85
    }
86

    
87
    public Boolean getTop() {
88
        return top;
89
    }
90

    
91
    public void setTop(Boolean top) {
92
        this.top = top;
93
    }
94

    
95
    public Boolean getBottom() {
96
        return bottom;
97
    }
98

    
99
    public void setBottom(Boolean bottom) {
100
        this.bottom = bottom;
101
    }
102

    
103
    public Boolean getLeft() {
104
        return left;
105
    }
106

    
107
    public void setLeft(Boolean left) {
108
        this.left = left;
109
    }
110

    
111
    public Boolean getRight() {
112
        return right;
113
    }
114

    
115
    public void setRight(Boolean right) {
116
        this.right = right;
117
    }
118
}
(5-5/6)