Commit 4bcbf742 authored by Matija Obreza's avatar Matija Obreza

Updated notation for AccessionDetails

parent 4b72db56
......@@ -43,10 +43,11 @@ public class AccessionDetails {
private String acqDate;
@Field(index = FieldIndex.not_analyzed, type = FieldType.String)
private String acqSrc;
private Boolean availability;
private Boolean available;
private Date createdDate;
private List<String> duplSite;
private Boolean mlsStatus;
private Boolean art15;
private Integer sampStat;
private List<Integer> storage;
......@@ -89,12 +90,13 @@ public class AccessionDetails {
ad.acceNumb = accession.getAccessionName();
ad.acqDate = accession.getAcquisitionDate();
ad.acqSrc = accession.getAcquisitionSource();
ad.availability = accession.getAvailability();
ad.available = accession.getAvailability();
ad.orgCty = Country.from(accession.getCountryOfOrigin());
if (StringUtils.isNotBlank(accession.getDuplSite()))
ad.duplSite = Arrays.asList(mcpdSplit.split(accession.getDuplSite()));
ad.institute = Institute.from(accession.getInstitute());
ad.mlsStatus = accession.getMlsStatus();
ad.art15 = accession.getInTrust();
ad.sampStat = accession.getSampleStatus();
ad.storage = accession.getStoRage();
ad.taxonomy = Taxonomy.from(accession.getTaxonomy());
......@@ -209,12 +211,12 @@ public class AccessionDetails {
this.acqSrc = acqSrc;
}
public Boolean getAvailability() {
return availability;
public Boolean getAvailable() {
return available;
}
public void setAvailability(Boolean availability) {
this.availability = availability;
public void setAvailable(Boolean available) {
this.available = available;
}
public Date getCreatedDate() {
......@@ -376,4 +378,12 @@ public class AccessionDetails {
public void setAcqusitionDate(Date acqusitionDate) {
this.acqusitionDate = acqusitionDate;
}
public Boolean getArt15() {
return art15;
}
public void setArt15(Boolean art15) {
this.art15 = art15;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment