package eu.dnetlib.openaire.exporter.model.community; import java.time.LocalDateTime; import java.util.List; import com.fasterxml.jackson.annotation.JsonAutoDetect; import eu.dnetlib.openaire.exporter.model.community.selectioncriteria.SelectionCriteria; import io.swagger.v3.oas.annotations.media.Schema; @JsonAutoDetect public class CommunityDetails extends CommunitySummary { @Schema(description = "date of creation for this community") private LocalDateTime creationDate; @Schema(description = "date of the last update for this communityu") private LocalDateTime lastUpdateDate; @Schema(description = "list of subjects (keywords) that characterise this community") private List subjects; @Schema(description = "list of fos that characterise this community") private List fos; @Schema(description = "list of sdg that characterise this community") private List sdg; @Schema(description = "list of advanced criteria to associate results to this community") private SelectionCriteria advancedConstraints; @Schema(description = "list of the remove criteria") private SelectionCriteria removeConstraints; @Schema(description = "type of claim") private CommunityClaimType claim; @Schema(description = "type of membership") private CommunityMembershipType membership; @Schema(description = "other zenodo communities") private List otherZenodoCommunities; public CommunityDetails() {} public CommunityDetails(final CommunitySummary summary) { super(summary); } @Override public LocalDateTime getCreationDate() { return creationDate; } @Override public void setCreationDate(final LocalDateTime creationDate) { this.creationDate = creationDate; } public List getSubjects() { return subjects; } public void setSubjects(final List subjects) { this.subjects = subjects; } @Override public LocalDateTime getLastUpdateDate() { return lastUpdateDate; } @Override public void setLastUpdateDate(final LocalDateTime lastUpdateDate) { this.lastUpdateDate = lastUpdateDate; } public List getFos() { return fos; } public void setFos(final List fos) { this.fos = fos; } public List getSdg() { return sdg; } public void setSdg(final List sdg) { this.sdg = sdg; } public SelectionCriteria getAdvancedConstraints() { return advancedConstraints; } public void setAdvancedConstraints(final SelectionCriteria advancedConstraints) { this.advancedConstraints = advancedConstraints; } public SelectionCriteria getRemoveConstraints() { return removeConstraints; } public void setRemoveConstraints(final SelectionCriteria removeConstraints) { this.removeConstraints = removeConstraints; } public CommunityClaimType getClaim() { return claim; } public void setClaim(final CommunityClaimType claim) { this.claim = claim; } public CommunityMembershipType getMembership() { return membership; } public void setMembership(final CommunityMembershipType membership) { this.membership = membership; } public List getOtherZenodoCommunities() { return otherZenodoCommunities; } public void setOtherZenodoCommunities(final List otherZenodoCommunities) { this.otherZenodoCommunities = otherZenodoCommunities; } }