123 lines
2.9 KiB
Java
123 lines
2.9 KiB
Java
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<String> subjects;
|
|
|
|
@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 = "list of advanced criteria to associate results to this community")
|
|
private SelectionCriteria advancedConstraints;
|
|
|
|
@Schema(description = "type of claim")
|
|
private CommunityClaimType claim;
|
|
|
|
@Schema(description = "type of membership")
|
|
private CommunityMembershipType membership;
|
|
|
|
@Schema(description = "other zenodo communities")
|
|
private List<String> 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<String> getSubjects() {
|
|
return subjects;
|
|
}
|
|
|
|
public void setSubjects(final List<String> subjects) {
|
|
this.subjects = subjects;
|
|
}
|
|
|
|
@Override
|
|
public LocalDateTime getLastUpdateDate() {
|
|
return lastUpdateDate;
|
|
}
|
|
|
|
@Override
|
|
public void setLastUpdateDate(final LocalDateTime lastUpdateDate) {
|
|
this.lastUpdateDate = lastUpdateDate;
|
|
}
|
|
|
|
public List<String> getFos() {
|
|
return fos;
|
|
}
|
|
|
|
public void setFos(final List<String> fos) {
|
|
this.fos = fos;
|
|
}
|
|
|
|
public List<String> getSdg() {
|
|
return sdg;
|
|
}
|
|
|
|
public void setSdg(final List<String> sdg) {
|
|
this.sdg = sdg;
|
|
}
|
|
|
|
public SelectionCriteria getAdvancedConstraints() {
|
|
return advancedConstraints;
|
|
}
|
|
|
|
public void setAdvancedConstraints(final SelectionCriteria advancedConstraints) {
|
|
this.advancedConstraints = advancedConstraints;
|
|
}
|
|
|
|
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<String> getOtherZenodoCommunities() {
|
|
return otherZenodoCommunities;
|
|
}
|
|
|
|
public void setOtherZenodoCommunities(final List<String> otherZenodoCommunities) {
|
|
this.otherZenodoCommunities = otherZenodoCommunities;
|
|
}
|
|
}
|