public interface IRepFilterBean extends IIdedBean
IFactory.newRepFilterBean()
,
IRepFiltersBean
,
IRepSearchEngine
,
IIdedBean
,
IBean
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment()
Returns the comment of the filter.
|
IConnection |
getConnection()
Returns the logical connection of this filter.
|
java.lang.Boolean |
getEnabled()
Returns if the filter is enabled.
|
IFilterBy |
getFilterBy()
Returns the filter by.
|
IFilterByGroup |
getFilterByGroup()
Returns the filter by group.
|
IOperator |
getOperator()
Returns the operator.
|
java.lang.Object |
getValue()
Returns the typed object value of the filter.
|
boolean |
isActive()
Tells if this filter is active.
A filter is active if it's enabled and is valid ( isValid() returns true ). |
boolean |
isValid()
Tells if this filter is valid.
A filter is valid if: all its essential properties are specified (not null )
its filter by is allowed by its filter by group
its operator is allowed by its filter by
|
void |
setComment(java.lang.String comment)
Sets the comment of the filter.
|
void |
setConnection(IConnection connection)
Sets the logical connection of this filter.
|
void |
setEnabled(java.lang.Boolean enabled)
Sets if the filter is enabled.
|
void |
setFilterBy(IFilterBy filterBy)
Sets the filter by.
|
void |
setFilterByGroup(IFilterByGroup filterByGroup)
Sets the filter by group.
|
void |
setOperator(IOperator operator)
Sets the operator.
|
void |
setValue(java.lang.Object value)
Sets the typed object value of the filter.
|
buildDevString, cloneBean, getBeanVer
boolean isActive()
isValid()
returns true
).boolean isValid()
null
)java.lang.Boolean getEnabled()
void setEnabled(java.lang.Boolean enabled)
enabled
- true if the filter is enabledIConnection getConnection()
void setConnection(IConnection connection)
connection
- logical connection of this filter to be setIFilterByGroup getFilterByGroup()
void setFilterByGroup(IFilterByGroup filterByGroup)
filterByGroup
- filter by group to be setIFilterBy getFilterBy()
void setFilterBy(IFilterBy filterBy)
filterBy
- filter by to be setIOperator getOperator()
void setOperator(IOperator operator)
operator
- operator to be setjava.lang.Object getValue()
void setValue(java.lang.Object value)
value
- typed object value of the filter to be setjava.lang.String getComment()
void setComment(java.lang.String comment)
comment
- comment of the filter to be set
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.