public class FilterTemplate extends Object implements FilterSource
Filters.| Constructor and Description |
|---|
FilterTemplate()
Constructor.
|
FilterTemplate(FilterTemplate other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Clause> |
getClauses()
Gets the clauses.
|
String |
getDescription()
Gets clear text description of what the source is.
|
String |
getExpression()
Gets the filter expression (in SQL).
|
String |
getName() |
String |
getType()
Gets optional type of filter expression.
|
boolean |
isApplyAtExport()
Gets if filter is applied at export instead of import.
|
boolean |
isEnabled() |
boolean |
matches(Table table,
Column column)
Checks if the template matches a given column.
|
void |
setApplyAtExport(boolean b)
Sets if filter is applied at export instead of import.
|
void |
setEnabled(boolean enabled) |
void |
setExpression(String expression)
Sets the filter expression (in SQL).
|
void |
setName(String name) |
void |
setType(String type)
Sets optional type of filter expression.
|
public FilterTemplate()
public FilterTemplate(FilterTemplate other)
public String getType()
public void setType(String type)
type - the type to setpublic String getExpression()
public void setExpression(String expression)
public void setApplyAtExport(boolean b)
b - the valuepublic boolean isApplyAtExport()
public String getDescription()
getDescription in interface FilterSourcepublic String getName()
public void setName(String name)
name - the name to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - the enabled to set