[Monitor Service | master]: Stakeholder.java: Added field "private Date projectUpdateDate = null;" to expose the last update date in the UI.

This commit is contained in:
Konstantina Galouni 2023-07-17 17:06:52 +03:00
parent fc2010e530
commit 648803a30c
1 changed files with 10 additions and 0 deletions

View File

@ -31,6 +31,7 @@ public class Stakeholder<StringOrTopic> {
private String id;
private StakeholderType type; // private StakeholderType type;
private Date projectUpdateDate = null;
private String index_id;
private String index_name;
private String index_shortName;
@ -54,6 +55,7 @@ public class Stakeholder<StringOrTopic> {
public Stakeholder(Stakeholder stakeholder) {
id = stakeholder.getId();
setType(stakeholder.getType());
projectUpdateDate = stakeholder.getProjectUpdateDate();
index_id = stakeholder.getIndex_id();
index_name = stakeholder.getIndex_name();
index_shortName = stakeholder.getIndex_shortName();
@ -102,6 +104,14 @@ public class Stakeholder<StringOrTopic> {
}
}
public Date getProjectUpdateDate() {
return projectUpdateDate;
}
public void setProjectUpdateDate(Date projectUpdateDate) {
this.projectUpdateDate = projectUpdateDate;
}
public String getIndex_id() {
return index_id;
}