Package net.sf.basedb.core.data
Class PropertyFilterData
java.lang.Object
net.sf.basedb.core.data.PropertyFilterData
This class holds context information to help client applications
with storing common settings for tables.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the operator used for this filter.getUnit()
getValue()
Get the value used in this filter.int
Get the type of value user for this filter.void
setOperator
(int operator) void
void
void
setValueType
(int valueType)
-
Field Details
-
operator
private int operator -
valueType
private int valueType -
MAX_VALUE_LENGTH
public static final int MAX_VALUE_LENGTHThe maximum length of the value that can be stored in the database.- See Also:
-
value
-
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
Get the value used in this filter.- Hibernate: property
- column="`value`" type="text" not-null="false"
-
setValue
-
getUnit
- Since:
- 2.9
- Hibernate: many-to-one
- column="`unit_id`" not-null="false"
-
setUnit
-