Package PamguardMVC.dataSelector
Class DataSelectParams
java.lang.Object
PamguardMVC.dataSelector.DataSelectParams
- All Implemented Interfaces:
Serializable
,ManagedParameters
- Direct Known Subclasses:
ClickAlarmParameters
,ClickTrainDataSelect2Params
,ClickTrainSelectParameters
,CompoundParams
,ControlDataSelParams
,CPODDatSelectorParams
,CTSelectParams
,DifarSelectParameters
,DLDataSelectorParams
,DLPredictionFilterParams
,FormDataSelParams
,FormsSelectorParams
,Group3DDataSelectParams
,RWDataSelParams
,ScalarDataParams
,SuperDataSelectParams
,WMAlarmParameters
,WslClsSelectorParams
Data select parameters.
- Author:
- Doug Gillespie
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
How to enable / disable / combine one or more dataselectors, particularly in a CompundDataSelector in which case we may want to disable some or all of the different data selectors from different annotations as well as the main data selector for the type of data in the block.Get a set of data that describes all of the parameters in a classvoid
setCombinationFlag
(int combinationFlag) How to enable / disable / combine one or more dataselectors, particularly in a CompundDataSelector in which case we may want to disable some or all of the different data selectors from different annotations as well as the main data selector for the type of data in the block.
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
DATA_SELECT_AND
public static final int DATA_SELECT_AND- See Also:
-
DATA_SELECT_OR
public static final int DATA_SELECT_OR- See Also:
-
DATA_SELECT_DISABLE
public static final int DATA_SELECT_DISABLE- See Also:
-
-
Constructor Details
-
DataSelectParams
public DataSelectParams()
-
-
Method Details
-
getCombinationFlag
public int getCombinationFlag()How to enable / disable / combine one or more dataselectors, particularly in a CompundDataSelector in which case we may want to disable some or all of the different data selectors from different annotations as well as the main data selector for the type of data in the block.DATA_SELECT_AND (0) will AND this with previous output (take the minimum of two double results)
DATA_SELECT_OR (1) will OR this with previous output (take the maximum of two double results)
DATA_SELECT_DISABLE (2) will disable this data selector (return always 1)- Returns:
- the combinationFlag
-
setCombinationFlag
public void setCombinationFlag(int combinationFlag) How to enable / disable / combine one or more dataselectors, particularly in a CompundDataSelector in which case we may want to disable some or all of the different data selectors from different annotations as well as the main data selector for the type of data in the block.DATA_SELECT_AND (0) will AND this with previous output (take the minimum of two double results)
DATA_SELECT_OR (1) will OR this with previous output (take the maximum of two double results)
DATA_SELECT_DISABLE (2) will disable this data selector (return always 1)- Parameters:
combinationFlag
- the combinationFlag to set
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-