added new Checkbox to enable cross Fleet scoring

This commit is contained in:
Finn Huelsbusch
2022-08-08 17:44:42 +02:00
parent 67e6e5a714
commit 792d11c382
37 changed files with 460 additions and 331 deletions
@@ -3,14 +3,16 @@ package com.sap.sailing.xrr.structureimport;
public class SeriesParameters {
private boolean firstColumnIsNonDiscardableCarryForward = false;
private boolean hasSplitFleetContiguousScoring = false;
private boolean hasCrossFleetMergedRanking = false;
private boolean startswithZeroScore = false;
private int[] discardingThresholds = null;
private Integer maximumNumberOfDiscards = null;
public SeriesParameters(boolean firstColumnIsNonDiscardableCarryForward, boolean hasSplitFleetContiguousScoring,
boolean startswithZeroScore, int[] discardingThresholds, Integer maximumNumberOfDiscards) {
boolean hasCrossFleetMergedRanking, boolean startswithZeroScore, int[] discardingThresholds, Integer maximumNumberOfDiscards) {
this.firstColumnIsNonDiscardableCarryForward = firstColumnIsNonDiscardableCarryForward;
this.hasSplitFleetContiguousScoring = hasSplitFleetContiguousScoring;
this.hasCrossFleetMergedRanking = hasCrossFleetMergedRanking;
this.startswithZeroScore = startswithZeroScore;
this.discardingThresholds = discardingThresholds;
this.maximumNumberOfDiscards = maximumNumberOfDiscards;
@@ -27,10 +29,18 @@ public class SeriesParameters {
public boolean isHasSplitFleetContiguousScoring() {
return hasSplitFleetContiguousScoring;
}
public boolean isHasCrossFleetMergedRanking() {
return hasCrossFleetMergedRanking;
}
public void setHasSplitFleetContiguousScoring(boolean hasSplitFleetContiguousScoring) {
this.hasSplitFleetContiguousScoring = hasSplitFleetContiguousScoring;
}
public void sethasCrossFleetMergedRanking(boolean hasCrossFleetMergedRanking) {
this.hasCrossFleetMergedRanking = hasCrossFleetMergedRanking;
}
public boolean isStartswithZeroScore() {
return startswithZeroScore;