Add auto update of results
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user