Updated Centroid coordinate as Double

This commit is contained in:
Francesco Mangiacrapa 2022-10-21 16:26:13 +02:00
parent 192c0098e2
commit 5d51e3f740
1 changed files with 6 additions and 6 deletions

View File

@ -16,8 +16,8 @@ public class ProjectView implements Serializable {
// The DocumentDV (contained in the ProjectDV) is listed in SectionView // The DocumentDV (contained in the ProjectDV) is listed in SectionView
private List<SectionView> listSections = new ArrayList<SectionView>(); private List<SectionView> listSections = new ArrayList<SectionView>();
private Long centroidLong; private Double centroidLong;
private Long centroidLat; private Double centroidLat;
public ProjectView() { public ProjectView() {
@ -39,19 +39,19 @@ public class ProjectView implements Serializable {
this.theProjectDV = theProjectDV; this.theProjectDV = theProjectDV;
} }
public void setCentroidLat(Long centroidLat) { public void setCentroidLat(Double centroidLat) {
this.centroidLat = centroidLat; this.centroidLat = centroidLat;
} }
public void setCentroidLong(Long centroidLong) { public void setCentroidLong(Double centroidLong) {
this.centroidLong = centroidLong; this.centroidLong = centroidLong;
} }
public Long getCentroidLat() { public Double getCentroidLat() {
return centroidLat; return centroidLat;
} }
public Long getCentroidLong() { public Double getCentroidLong() {
return centroidLong; return centroidLong;
} }