Skip to content

Commit

Permalink
Added lombok getter and setter to ProjectStatusDataTable.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Strzebkowski committed Jun 30, 2021
1 parent 665f4bd commit 16e9033
Showing 1 changed file with 8 additions and 37 deletions.
45 changes: 8 additions & 37 deletions Goobi/src/org/goobi/production/chart/ProjectStatusDataTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,12 @@
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

/*************************************************************************************
* A ProjectStatusDataTable object holds all the information needed for rendering a project status chart
*
Expand All @@ -44,9 +48,13 @@
*************************************************************************************/
public class ProjectStatusDataTable implements Serializable {
private static final long serialVersionUID = -6649337945039135394L;
@Getter
@Setter
private String name;

@Getter
private Date projectBegin;
@Getter
private Date projectEnd;

private List<ProjectTask> projectTasks;
Expand Down Expand Up @@ -103,24 +111,6 @@ public void addTask(IProjectTask inTask) {

}

/************************************************************************************
* getter for name
*
* @return name as string
************************************************************************************/
public String getName() {
return name;
}

/************************************************************************************
* setter for name
*
* @param name as string
************************************************************************************/
public void setName(String name) {
this.name = name;
}

/************************************************************************************
* getter for all tasks
*
Expand Down Expand Up @@ -155,23 +145,4 @@ public int getTaskIndex(String title) {
return -1;
}
}

/************************************************************************************
* getter for projectBegin
*
* @return projectBegin as Date
************************************************************************************/
public Date getProjectBegin() {
return projectBegin;
}

/************************************************************************************
* getter for projectEnd
*
* @return projectEnd as Date
************************************************************************************/
public Date getProjectEnd() {
return projectEnd;
}

}

0 comments on commit 16e9033

Please sign in to comment.