dnet-applications/apps/dnet-exporter-api/src/main/java/eu/dnetlib/openaire/community/CommunityDetails.java

90 lines
1.9 KiB
Java
Raw Normal View History

2022-02-04 10:12:15 +01:00
package eu.dnetlib.openaire.community;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
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 CommunityDetails extends CommunitySummary {
2022-08-19 15:21:40 +02:00
@Schema(description = "date of creation for this community")
2022-02-04 10:12:15 +01:00
private Date creationDate;
2022-08-19 15:21:40 +02:00
@Schema(description = "date of the last update for this communityu")
2022-02-04 10:12:15 +01:00
private Date lastUpdateDate;
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;
@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 String advancedConstraint;
2022-08-19 15:21:40 +02:00
public CommunityDetails() {}
2022-02-04 10:12:15 +01:00
public CommunityDetails(final CommunitySummary summary) {
super(summary);
}
2022-08-19 15:21:40 +02:00
@Override
2022-02-04 10:12:15 +01:00
public Date getCreationDate() {
return creationDate;
}
2022-08-19 15:21:40 +02:00
@Override
2022-02-04 10:12:15 +01:00
public void setCreationDate(final Date creationDate) {
this.creationDate = creationDate;
}
public List<String> getSubjects() {
return subjects;
}
public void setSubjects(final List<String> subjects) {
this.subjects = subjects;
}
2022-08-19 15:21:40 +02:00
@Override
2022-02-04 10:12:15 +01:00
public Date getLastUpdateDate() {
return lastUpdateDate;
}
2022-08-19 15:21:40 +02:00
@Override
public void setLastUpdateDate(final Date lastUpdateDate) {
2022-02-04 10:12:15 +01:00
this.lastUpdateDate = lastUpdateDate;
}
public List<String> getFos() {
return fos;
}
public void setFos(List<String> fos) {
this.fos = fos;
}
public List<String> getSdg() {
return sdg;
}
public void setSdg(List<String> sdg) {
this.sdg = sdg;
}
public String getAdvancedConstraint() {
return advancedConstraint;
}
public void setAdvancedConstraint(String advancedConstraint) {
this.advancedConstraint = advancedConstraint;
}
2022-02-04 10:12:15 +01:00
}