From b37a7446c3f9cb14bea972d1217817980deec045 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 21 Oct 2022 16:33:17 +0200 Subject: [PATCH] refactored --- .../shared/geoportal/view/ProjectView.java | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java b/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java index d779961..80b540d 100644 --- a/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java +++ b/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java @@ -23,10 +23,6 @@ public class ProjectView implements Serializable { } - public void addSectionView(SectionView sectionView) { - listSections.add(sectionView); - } - public ProjectDV getTheProjectDV() { return theProjectDV; } @@ -35,24 +31,28 @@ public class ProjectView implements Serializable { return listSections; } - public void setTheProjectDV(ProjectDV theProjectDV) { - this.theProjectDV = theProjectDV; - } - - public void setCentroidLat(Double centroidLat) { - this.centroidLat = centroidLat; - } - - public void setCentroidLong(Double centroidLong) { - this.centroidLong = centroidLong; + public Double getCentroidLong() { + return centroidLong; } public Double getCentroidLat() { return centroidLat; } - public Double getCentroidLong() { - return centroidLong; + public void setTheProjectDV(ProjectDV theProjectDV) { + this.theProjectDV = theProjectDV; + } + + public void setListSections(List listSections) { + this.listSections = listSections; + } + + public void setCentroidLong(Double centroidLong) { + this.centroidLong = centroidLong; + } + + public void setCentroidLat(Double centroidLat) { + this.centroidLat = centroidLat; } @Override