public class Filter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LITERAL_PREFIX
Prefix for "literal" filter expressions.
|
static String |
OLD_VALUE_PROP |
static String |
OLD_VALUE_PROP_PURE |
static String |
OLD_VALUE_PROP_RE |
| Constructor and Description |
|---|
Filter(String expression,
String type,
boolean derived,
FilterSource filterSource)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAppliedTo() |
String |
getExpression()
Gets the filter expression (in SQL).
|
FilterSource |
getFilterSource() |
String |
getType()
Gets optional type of filter expression.
|
boolean |
isApplyAtExport()
Gets if filter is applied at export instead of import.
|
boolean |
isDerived()
Returns
true iff filter is derived. |
void |
setAppliedTo(List<String> appliedTo) |
void |
setApplyAtExport(boolean b)
Sets if filter is applied at export instead of import.
|
void |
setType(String type)
Sets optional type of filter expression.
|
public static final String LITERAL_PREFIX
public static String OLD_VALUE_PROP
public static String OLD_VALUE_PROP_PURE
public static String OLD_VALUE_PROP_RE
public Filter(String expression, String type, boolean derived, FilterSource filterSource)
expression - filter expression (in SQL)derived - derived from parent primary key column?public String getType()
public void setType(String type)
type - the type to setpublic String getExpression()
public boolean isDerived()
true iff filter is derived.true iff filter is derivedpublic FilterSource getFilterSource()
public void setAppliedTo(List<String> appliedTo)
appliedTo - the appliedTo to setpublic void setApplyAtExport(boolean b)
b - the valuepublic boolean isApplyAtExport()