|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.subsets.filter.settings.AbstractFilterSettings
org.palo.api.subsets.filter.settings.AttributeFilterSetting
public class AttributeFilterSetting
AttributeFilterSetting
Manages the settings for the AttributeFilter
.
An AttributeConstraintsMatrix
is used to filter out Element
s.
Therefore an element is accepted if it fulfills at least one row of this
matrix.
Constructor Summary | |
---|---|
AttributeFilterSetting()
Creates a new AttributeFilterSetting instance |
Method Summary | |
---|---|
void |
adapt(FilterSetting from)
Adapt the filter setting from the given filter setting. |
void |
bind(Subset2 subset)
Binds this filter settings instance to the given Subset2
NOTE: PLEASE DON'T USE! |
ObjectParameter |
getFilterConstraints()
Returns the currently used filter constraint parameter. |
boolean |
hasFilterConsraints()
|
void |
reset()
Resets the filter setting to its defaults. |
void |
setFilterConstraints(ObjectParameter constraintsParam)
Adds all filter constraints from the given parameter to this settings. |
void |
unbind()
Releases this filter settings instance from a previously binded Subset2
NOTE: PLEASE DON'T USE! |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeFilterSetting()
AttributeFilterSetting
instance
Method Detail |
---|
public final void setFilterConstraints(ObjectParameter constraintsParam)
AttributeConstraintsMatrix
, otherwise calling this method has
no effect!
constraintParam
- the new filter constraintspublic final ObjectParameter getFilterConstraints()
public final boolean hasFilterConsraints()
public void adapt(FilterSetting from)
FilterSetting
from
- the filter setting to adapt frompublic final void bind(Subset2 subset)
FilterSetting
Binds this filter settings instance to the given Subset2
bind
in interface FilterSetting
bind
in class AbstractFilterSettings
public final void unbind()
FilterSetting
Releases this filter settings instance from a previously binded
Subset2
unbind
in interface FilterSetting
unbind
in class AbstractFilterSettings
public void reset()
FilterSetting
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |