1 |
50222
|
konstantin
|
package eu.dnetlib.uoaadmintools.entities;
|
2 |
|
|
|
3 |
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
4 |
|
|
|
5 |
|
|
import org.springframework.data.annotation.Id;
|
6 |
|
|
|
7 |
|
|
import java.util.List;
|
8 |
|
|
import java.util.Map;
|
9 |
|
|
|
10 |
|
|
public class CommunityPage {
|
11 |
|
|
|
12 |
|
|
@Id
|
13 |
|
|
@JsonProperty("_id")
|
14 |
|
|
private String id;
|
15 |
|
|
|
16 |
|
|
private String route;
|
17 |
|
|
private String name;
|
18 |
|
|
private String type;
|
19 |
|
|
private List<Entity> entities;
|
20 |
|
|
private Boolean isEnabled;
|
21 |
51531
|
konstantin
|
private Boolean connect;
|
22 |
|
|
private Boolean openaire;
|
23 |
50222
|
konstantin
|
|
24 |
|
|
public CommunityPage() {}
|
25 |
|
|
|
26 |
|
|
public CommunityPage(Page page) {
|
27 |
|
|
this.setId(page.getId());
|
28 |
|
|
this.setRoute(page.getRoute());
|
29 |
|
|
this.setName(page.getName());
|
30 |
|
|
this.setType(page.getType());
|
31 |
51531
|
konstantin
|
this.setConnect(page.getConnect());
|
32 |
|
|
this.setOpenaire(page.getOpenaire());
|
33 |
50222
|
konstantin
|
}
|
34 |
|
|
|
35 |
|
|
public String getId() {
|
36 |
|
|
return id;
|
37 |
|
|
}
|
38 |
|
|
|
39 |
|
|
public void setId(String id) {
|
40 |
|
|
this.id = id;
|
41 |
|
|
}
|
42 |
|
|
|
43 |
|
|
public String getRoute() {
|
44 |
|
|
return route;
|
45 |
|
|
}
|
46 |
|
|
|
47 |
|
|
public void setRoute(String route) {
|
48 |
|
|
this.route = route;
|
49 |
|
|
}
|
50 |
|
|
|
51 |
|
|
public String getName() {
|
52 |
|
|
return name;
|
53 |
|
|
}
|
54 |
|
|
|
55 |
|
|
public void setName(String name) {
|
56 |
|
|
this.name = name;
|
57 |
|
|
}
|
58 |
|
|
|
59 |
|
|
public String getType() {
|
60 |
|
|
return type;
|
61 |
|
|
}
|
62 |
|
|
|
63 |
|
|
public void setType(String type) {
|
64 |
|
|
this.type = type;
|
65 |
|
|
}
|
66 |
|
|
|
67 |
|
|
public List<Entity> getEntities() { return entities; }
|
68 |
|
|
|
69 |
|
|
public void setEntities(List<Entity> entities) { this.entities = entities; }
|
70 |
|
|
|
71 |
|
|
public Boolean getIsEnabled() { return isEnabled; }
|
72 |
|
|
|
73 |
|
|
public void setIsEnabled(Boolean isEnabled) { this.isEnabled = isEnabled; }
|
74 |
51531
|
konstantin
|
|
75 |
|
|
public Boolean getConnect() {
|
76 |
|
|
return connect;
|
77 |
|
|
}
|
78 |
|
|
|
79 |
|
|
public void setConnect(Boolean connect) {
|
80 |
|
|
this.connect = connect;
|
81 |
|
|
}
|
82 |
|
|
|
83 |
|
|
public Boolean getOpenaire() {
|
84 |
|
|
return openaire;
|
85 |
|
|
}
|
86 |
|
|
|
87 |
|
|
public void setOpenaire(Boolean openaire) {
|
88 |
|
|
this.openaire = openaire;
|
89 |
|
|
}
|
90 |
50222
|
konstantin
|
}
|