Class PropertyFilterData

java.lang.Object
net.sf.basedb.core.data.PropertyFilterData

public class PropertyFilterData
extends Object
This class holds context information to help client applications with storing common settings for tables.
Version:
2.0
Author:
Nicklas
See Also:
ItemContext, Developer documentation: Client, session and settings
Last modified
$Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
  • Field Details

    • operator

      private int operator
    • valueType

      private int valueType
    • MAX_VALUE_LENGTH

      public static final int MAX_VALUE_LENGTH
      The maximum length of the value that can be stored in the database.
      See Also:
      setValue(String), Constant Field Values
    • value

      private String value
    • unit

      private UnitData unit
  • Constructor Details

    • PropertyFilterData

      public PropertyFilterData()
  • Method Details

    • getOperator

      public int getOperator()
      Get the operator used for this filter.
      Hibernate: property
      column="`operator`" type="int" not-null="true"
    • setOperator

      public void setOperator​(int operator)
    • getValueType

      public int getValueType()
      Get the type of value user for this filter.
      Hibernate: property
      column="`value_type`" type="int" not-null="true"
    • setValueType

      public void setValueType​(int valueType)
    • getValue

      public String getValue()
      Get the value used in this filter.
      Hibernate: property
      column="`value`" type="text" not-null="false"
    • setValue

      public void setValue​(String value)
    • getUnit

      public UnitData getUnit()
      Since:
      2.9
      Hibernate: many-to-one
      column="`unit_id`" not-null="false"
    • setUnit

      public void setUnit​(UnitData unit)