Package de.gematik.combine
Class FilterConfiguration
- java.lang.Object
-
- de.gematik.combine.FilterConfiguration
-
public class FilterConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFilterConfiguration.FilterConfigurationBuilder
-
Constructor Summary
Constructors Constructor Description FilterConfiguration()FilterConfiguration(boolean allowSelfCombine, boolean allowDoubleLineup, int maxTableRows, boolean shuffleCombinations, boolean minimalTable)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FilterConfiguration.FilterConfigurationBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)intgetMaxTableRows()global maximum of rows for each tableinthashCode()booleanisAllowDoubleLineup()Decide if one combination of items is allowed to show up in different lineups (e.g.booleanisAllowSelfCombine()Decide if a distinct item is allowed to show up twice in one linebooleanisMinimalTable()Creates a minimal tablebooleanisShuffleCombinations()shuffles 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 tableFilterConfiguration.FilterConfigurationBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static FilterConfiguration.FilterConfigurationBuilder builder()
-
toBuilder
public FilterConfiguration.FilterConfigurationBuilder 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
-
canEqual
protected boolean canEqual(Object other)
-
-