Add auto update of results

This commit is contained in:
2023-06-06 15:48:06 +02:00
parent 2cb0e754ed
commit e374de61ae
13 changed files with 275 additions and 74 deletions
+12 -4
View File
@@ -2,10 +2,10 @@ package de.jeyp91;
public abstract class BaseMatch {
public final Integer COMPARISON_IDENTICAL = 0;
public final Integer COMPARISON_DIFFERENT = 1;
public final Integer COMPARISON_DIFFERENT_DATETIME = 2;
public final Integer COMPARISON_DIFFERENT_RESULT = 3;
public static final Integer COMPARISON_IDENTICAL = 0;
public static final Integer COMPARISON_DIFFERENT = 1;
public static final Integer COMPARISON_DIFFERENT_DATETIME = 2;
public static final Integer COMPARISON_DIFFERENT_RESULT = 3;
protected Integer teamIdHome;
protected Integer teamIdGuest;
@@ -18,6 +18,8 @@ public abstract class BaseMatch {
protected Integer matchday = null;
protected String matchDatetime = null;
protected Integer updateStatus = COMPARISON_IDENTICAL;
public Integer getMatchday() {
return this.matchday;
}
@@ -57,4 +59,10 @@ public abstract class BaseMatch {
public String getTeamNameGuest() {
return this.teamNameGuest;
}
public void setUpdateStatus(Integer newStatus) { this.updateStatus = newStatus; }
public Integer getUpdateStatus() {
return this.updateStatus;
}
}