-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GITFLOW]merging 'release-0.6.0' into 'master'
- Loading branch information
Showing
330 changed files
with
20,945 additions
and
22,874 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 30 additions & 13 deletions
43
sormas-api/src/main/java/de/symeda/sormas/api/contact/ContactMapDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,57 @@ | ||
package de.symeda.sormas.api.contact; | ||
|
||
import java.util.Date; | ||
import de.symeda.sormas.api.visit.VisitReferenceDto; | ||
|
||
public class ContactMapDto extends ContactReferenceDto { | ||
|
||
private static final long serialVersionUID = -7764607075875188799L; | ||
|
||
public static final String I18N_PREFIX = "Contact"; | ||
|
||
public static final String LAST_VISIT_DATE_TIME = "lastVisitDateTime"; | ||
public static final String LAST_VISIT = "lastVisit"; | ||
public static final String CONTACT_CLASSIFICATION = "contactClassification"; | ||
public static final String REPORT_LAT = "reportLat"; | ||
public static final String REPORT_LON = "reportLon"; | ||
|
||
private Date lastVisitDateTime; | ||
private Float reportLat; | ||
private Float reportLon; | ||
private VisitReferenceDto lastVisit; | ||
private ContactClassification contactClassification; | ||
private Double reportLat; | ||
private Double reportLon; | ||
private Float reportLatLonAccuracy; | ||
|
||
public Date getLastVisitDateTime() { | ||
return lastVisitDateTime; | ||
public VisitReferenceDto getLastVisit() { | ||
return lastVisit; | ||
} | ||
public void setLastVisitDateTime(Date lastVisitDateTime) { | ||
this.lastVisitDateTime = lastVisitDateTime; | ||
public void setLastVisit(VisitReferenceDto lastVisit) { | ||
this.lastVisit = lastVisit; | ||
} | ||
|
||
public ContactClassification getContactClassification() { | ||
return contactClassification; | ||
} | ||
public void setContactClassification(ContactClassification contactClassification) { | ||
this.contactClassification = contactClassification; | ||
} | ||
|
||
public Float getReportLat() { | ||
public Double getReportLat() { | ||
return reportLat; | ||
} | ||
public void setReportLat(Float reportLat) { | ||
public void setReportLat(Double reportLat) { | ||
this.reportLat = reportLat; | ||
} | ||
|
||
public Float getReportLon() { | ||
public Double getReportLon() { | ||
return reportLon; | ||
} | ||
public void setReportLon(Float reportLon) { | ||
public void setReportLon(Double reportLon) { | ||
this.reportLon = reportLon; | ||
} | ||
|
||
public Float getReportLatLonAccuracy() { | ||
return reportLatLonAccuracy; | ||
} | ||
public void setReportLatLonAccuracy(Float reportLatLonAccuracy) { | ||
this.reportLatLonAccuracy = reportLatLonAccuracy; | ||
} | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
sormas-api/src/main/java/de/symeda/sormas/api/epidata/AnimalCondition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package de.symeda.sormas.api.epidata; | ||
|
||
import de.symeda.sormas.api.I18nProperties; | ||
|
||
public enum AnimalCondition { | ||
|
||
ALIVE, | ||
DEAD, | ||
PROCESSED, | ||
UNKNOWN; | ||
|
||
public String toString() { | ||
return I18nProperties.getEnumCaption(this); | ||
} | ||
|
||
} |
Oops, something went wrong.