2023-03-31 14:53:52 +02:00
|
|
|
package eu.dnetlib.openaire.exporter.model.community;
|
2022-02-04 10:12:15 +01:00
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
2022-08-19 15:21:40 +02:00
|
|
|
|
2023-03-31 14:53:52 +02:00
|
|
|
import eu.dnetlib.openaire.exporter.model.community.selectioncriteria.SelectionCriteria;
|
2022-08-19 15:21:40 +02:00
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
2022-02-04 10:12:15 +01:00
|
|
|
|
|
|
|
@JsonAutoDetect
|
|
|
|
public class CommunityWritableProperties {
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
@Schema(description = "community name")
|
2022-02-04 10:12:15 +01:00
|
|
|
private String name;
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
@Schema(description = "community short name")
|
2022-02-04 10:12:15 +01:00
|
|
|
private String shortName;
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
@Schema(description = "community description")
|
2022-02-04 10:12:15 +01:00
|
|
|
private String description;
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
@Schema(description = "http url for the community logo")
|
2022-02-04 10:12:15 +01:00
|
|
|
private String logoUrl;
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
@Schema(description = "list of subjects (keywords) that characterise this community")
|
2022-02-04 10:12:15 +01:00
|
|
|
private List<String> subjects;
|
|
|
|
|
2022-09-26 12:15:39 +02:00
|
|
|
@Schema(description = "list of fos that characterise this community")
|
|
|
|
private List<String> fos;
|
|
|
|
|
|
|
|
@Schema(description = "list of sdg that characterise this community")
|
|
|
|
private List<String> sdg;
|
|
|
|
|
|
|
|
@Schema(description = "Advanced constraint for the association of results to the community")
|
2023-04-21 15:10:22 +02:00
|
|
|
private SelectionCriteria advancedConstraints;
|
2022-09-26 12:15:39 +02:00
|
|
|
|
2023-06-27 09:55:39 +02:00
|
|
|
@Schema(description = "Constraint for removing")
|
|
|
|
private SelectionCriteria removeConstraints;
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
@Schema(description = "status of the community, drives its visibility")
|
2022-02-04 10:12:15 +01:00
|
|
|
private CommunityStatus status;
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
@Schema(description = "id of the main Zenodo community")
|
2022-02-04 10:12:15 +01:00
|
|
|
private String mainZenodoCommunity;
|
|
|
|
|
2023-06-27 09:55:39 +02:00
|
|
|
@Schema(description = "identifiers of the other Zenodo community")
|
|
|
|
private List<String> otherZenodoCommunities;
|
|
|
|
|
|
|
|
@Schema(description = "membership of the community")
|
|
|
|
private CommunityMembershipType membership;
|
|
|
|
|
|
|
|
@Schema(description = "type of the community")
|
|
|
|
private CommunityType type;
|
|
|
|
|
|
|
|
@Schema(description = "type of supported claim")
|
|
|
|
private CommunityClaimType claim;
|
2022-02-04 10:12:15 +01:00
|
|
|
|
2023-10-18 10:17:16 +02:00
|
|
|
@Schema(description = "community plan")
|
|
|
|
private String plan;
|
|
|
|
|
2022-09-26 12:15:39 +02:00
|
|
|
public List<String> getFos() {
|
|
|
|
return fos;
|
|
|
|
}
|
|
|
|
|
2023-03-31 14:53:52 +02:00
|
|
|
public void setFos(final List<String> fos) {
|
2022-09-26 12:15:39 +02:00
|
|
|
this.fos = fos;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getSdg() {
|
|
|
|
return sdg;
|
|
|
|
}
|
|
|
|
|
2023-03-31 14:53:52 +02:00
|
|
|
public void setSdg(final List<String> sdg) {
|
2022-09-26 12:15:39 +02:00
|
|
|
this.sdg = sdg;
|
|
|
|
}
|
|
|
|
|
2023-04-21 15:10:22 +02:00
|
|
|
public SelectionCriteria getAdvancedConstraints() {
|
|
|
|
return advancedConstraints;
|
2022-09-26 12:15:39 +02:00
|
|
|
}
|
|
|
|
|
2023-04-21 15:10:22 +02:00
|
|
|
public void setAdvancedConstraints(final SelectionCriteria advancedConstraints) {
|
|
|
|
this.advancedConstraints = advancedConstraints;
|
2022-09-26 12:15:39 +02:00
|
|
|
}
|
|
|
|
|
2022-02-04 10:12:15 +01:00
|
|
|
public String getName() {
|
|
|
|
return name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setName(final String name) {
|
|
|
|
this.name = name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getShortName() {
|
|
|
|
return shortName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setShortName(final String shortName) {
|
|
|
|
this.shortName = shortName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
return description;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDescription(final String description) {
|
|
|
|
this.description = description;
|
|
|
|
}
|
|
|
|
|
|
|
|
public String getLogoUrl() {
|
|
|
|
return logoUrl;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLogoUrl(final String logoUrl) {
|
|
|
|
this.logoUrl = logoUrl;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getSubjects() {
|
|
|
|
return subjects;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setSubjects(final List<String> subjects) {
|
|
|
|
this.subjects = subjects;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityStatus getStatus() {
|
|
|
|
return status;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setStatus(final CommunityStatus status) {
|
|
|
|
this.status = status;
|
|
|
|
}
|
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
public String getMainZenodoCommunity() {
|
|
|
|
return mainZenodoCommunity;
|
|
|
|
}
|
2022-02-04 10:12:15 +01:00
|
|
|
|
2022-08-19 15:21:40 +02:00
|
|
|
public void setMainZenodoCommunity(final String mainZenodoCommunity) {
|
|
|
|
this.mainZenodoCommunity = mainZenodoCommunity;
|
|
|
|
}
|
2023-06-27 09:55:39 +02:00
|
|
|
|
|
|
|
public CommunityMembershipType getMembership() {
|
|
|
|
return membership;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setMembership(final CommunityMembershipType membership) {
|
|
|
|
this.membership = membership;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityType getType() {
|
|
|
|
return type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setType(final CommunityType type) {
|
|
|
|
this.type = type;
|
|
|
|
}
|
|
|
|
|
|
|
|
public CommunityClaimType getClaim() {
|
|
|
|
return claim;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setClaim(final CommunityClaimType claim) {
|
|
|
|
this.claim = claim;
|
|
|
|
}
|
|
|
|
|
|
|
|
public SelectionCriteria getRemoveConstraints() {
|
|
|
|
return removeConstraints;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRemoveConstraints(final SelectionCriteria removeConstraints) {
|
|
|
|
this.removeConstraints = removeConstraints;
|
|
|
|
}
|
|
|
|
|
|
|
|
public List<String> getOtherZenodoCommunities() {
|
|
|
|
return otherZenodoCommunities;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setOtherZenodoCommunities(final List<String> otherZenodoCommunities) {
|
|
|
|
this.otherZenodoCommunities = otherZenodoCommunities;
|
|
|
|
}
|
2023-10-18 10:17:16 +02:00
|
|
|
|
|
|
|
public String getPlan() {
|
|
|
|
return plan;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setPlan(final String plan) {
|
|
|
|
this.plan = plan;
|
|
|
|
}
|
2022-02-04 10:12:15 +01:00
|
|
|
}
|