Class ValueFilterParams

java.lang.Object
generalDatabase.dataExport.ValueFilterParams
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters
Direct Known Subclasses:
DoubleValueParams, IntValueParams, TimeValueParams

public abstract class ValueFilterParams extends Object implements Cloneable, Serializable, ManagedParameters
Abstract class for ValueFilters for filtering database data tables.
Author:
Doug Gillespie
See Also:
  • Field Details

  • Constructor Details

    • ValueFilterParams

      public ValueFilterParams()
  • Method Details

    • isUseMin

      public boolean isUseMin()
      Returns:
      the useMin
    • setUseMin

      public void setUseMin(boolean useMin)
      Parameters:
      useMin - the useMin to set
    • isUseMax

      public boolean isUseMax()
      Returns:
      the useMax
    • setUseMax

      public void setUseMax(boolean useMax)
      Parameters:
      useMax - the useMax to set
    • getMinValue

      public abstract String getMinValue()
      Get the min value as a string
      Returns:
      min value as a string
    • getMaxValue

      public abstract String getMaxValue()
      GEt the max value as a string
      Returns:
      max value as a string
    • setMinValue

      public abstract boolean setMinValue(String minValue)
      Set the minimum value
      Parameters:
      minValue - min value as a string
      Returns:
      true if decoded successfully
    • setMaxValue

      public abstract boolean setMaxValue(String maxValue)
      Set the maximum value
      Parameters:
      maxValue - max value as a string
      Returns:
      true if decoded successfully
    • getTextFieldLength

      public abstract int getTextFieldLength()
      Get the length of a typical text field need to display these data.
      Returns:
      the length of a typical text field need to display these data.
    • getMaxQueryValue

      public String getMaxQueryValue(SQLTypes sqlTypes)
      Get the maximum value in a format suitable for including in an SQL string
      Returns:
      the maximum value in a format suitable for including in an SQL string
    • getMinQueryValue

      public String getMinQueryValue(SQLTypes sqlTypes)
      Get the minimum value in a format suitable for including in an SQL string
      Returns:
      the minimum value in a format suitable for including in an SQL string
    • 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.