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

public abstract class DataSelectParams extends Object implements Serializable, ManagedParameters
Data select parameters.
Author:
Doug Gillespie
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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 class
    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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.