Package de.gematik.combine
Class FilterConfiguration
java.lang.Object
de.gematik.combine.FilterConfiguration
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFilterConfiguration(boolean allowSelfCombine, boolean allowDoubleLineup, int maxTableRows, boolean shuffleCombinations, boolean minimalTable) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanintglobal maximum of rows for each tableinthashCode()booleanDecide if one combination of items is allowed to show up in different lineups (e.g.booleanDecide if a distinct item is allowed to show up twice in one linebooleanCreates a minimal tablebooleanshuffles the generated tablevoidsetAllowDoubleLineup(boolean allowDoubleLineup) Decide if one combination of items is allowed to show up in different lineups (e.g.voidsetAllowSelfCombine(boolean allowSelfCombine) Decide if a distinct item is allowed to show up twice in one linevoidsetMaxTableRows(int maxTableRows) global maximum of rows for each tablevoidsetMinimalTable(boolean minimalTable) Creates a minimal tablevoidsetShuffleCombinations(boolean shuffleCombinations) shuffles the generated tabletoString()
-
Constructor Details
-
FilterConfiguration
public FilterConfiguration(boolean allowSelfCombine, boolean allowDoubleLineup, int maxTableRows, boolean shuffleCombinations, boolean minimalTable) -
FilterConfiguration
public FilterConfiguration()
-
-
Method Details
-
builder
-
toBuilder
-
isAllowSelfCombine
public boolean isAllowSelfCombine()Decide if a distinct item is allowed to show up twice in one line -
isAllowDoubleLineup
public boolean isAllowDoubleLineup()Decide if one combination of items is allowed to show up in different lineups (e.g. | Api1 | Api2 | and | Api2 | Api1 | ) -
getMaxTableRows
public int getMaxTableRows()global maximum of rows for each table -
isShuffleCombinations
public boolean isShuffleCombinations()shuffles the generated table -
isMinimalTable
public boolean isMinimalTable()Creates a minimal table -
setAllowSelfCombine
public void setAllowSelfCombine(boolean allowSelfCombine) Decide if a distinct item is allowed to show up twice in one line -
setAllowDoubleLineup
public void setAllowDoubleLineup(boolean allowDoubleLineup) Decide if one combination of items is allowed to show up in different lineups (e.g. | Api1 | Api2 | and | Api2 | Api1 | ) -
setMaxTableRows
public void setMaxTableRows(int maxTableRows) global maximum of rows for each table -
setShuffleCombinations
public void setShuffleCombinations(boolean shuffleCombinations) shuffles the generated table -
setMinimalTable
public void setMinimalTable(boolean minimalTable) Creates a minimal table -
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-