|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.server.criteria.DefaultSearchCriteriaMatcher
public class DefaultSearchCriteriaMatcher
A default implementation which is performing criteria matches according to
the attribute value's type.
Note: This class is for internal usage only. Any dependency from the
end-user will not be supported. Changes to this class will happen without a
warning.
Field Summary | |
---|---|
static String |
MATCH_ALL_NAMES
The key in the map of customizers which this class will interpret as instruction to use the provided customizer for all value matches. |
Constructor Summary | |
---|---|
DefaultSearchCriteriaMatcher()
|
Method Summary | |
---|---|
boolean |
getCaseSensitive()
|
boolean |
match(Entry entry,
SearchCriteria sc)
Matches the specified entry against the defined search criteria using the default mechanism. |
boolean |
match(Entry entry,
SearchCriteria sc,
Map<String,MatchCustomizer> customize)
Matches specified entry against the defined search criteria using the specified customization mechanism. |
void |
setCaseSensitive(boolean caseSensitive)
Set flag used to determinate case sensitivity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MATCH_ALL_NAMES
Constructor Detail |
---|
public DefaultSearchCriteriaMatcher()
Method Detail |
---|
public boolean match(Entry entry, SearchCriteria sc)
SearchCriteriaMatcher
match
in interface SearchCriteriaMatcher
entry
- the actual entry to matchsc
- the criteria definition
public boolean match(Entry entry, SearchCriteria sc, Map<String,MatchCustomizer> customize)
SearchCriteriaMatcher
match
in interface SearchCriteriaMatcher
entry
- the actual entry to matchsc
- the criteria definitioncustomize
- a map containing the name of the attributes for which a
customization should be applied. A match-all * can be used to
match all attributes.
public void setCaseSensitive(boolean caseSensitive)
caseSensitive
- value to be set.public boolean getCaseSensitive()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |