org.omwg.mediation.mappingstore.query
Interface Restriction
- All Known Implementing Classes:
- ListRestriction, StringRestriction, ValueRestriction
- public interface Restriction
Restriction class, used to query Pattern- and Mapping- Stores.
Method Summary |
boolean |
admit(java.lang.Object o)
Checks if given object complys with restrictions specified by
the implementation class |
java.lang.String |
reduceToLuceneQuery(java.lang.String field)
|
admit
public boolean admit(java.lang.Object o)
- Checks if given object complys with restrictions specified by
the implementation class
- Parameters:
o
- given object
- Returns:
True
if the object complys with the restrictions,
otherwise returns False
.
reduceToLuceneQuery
public java.lang.String reduceToLuceneQuery(java.lang.String field)