|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.runtime.persistence.query.PersistenceQueryAbstract
org.nakedobjects.runtime.persistence.query.PersistenceQueryBuiltInAbstract
org.nakedobjects.runtime.persistence.query.PersistenceQueryFindByPattern
public class PersistenceQueryFindByPattern
Corresponds to QueryFindByPattern.
| Constructor Summary | |
|---|---|
PersistenceQueryFindByPattern(NakedObjectSpecification specification,
NakedObject pattern)
|
|
| Method Summary | |
|---|---|
NakedObject |
getPattern()
|
boolean |
matches(NakedObject object)
The built-in queries iterate over all instances. |
| Methods inherited from class org.nakedobjects.runtime.persistence.query.PersistenceQueryAbstract |
|---|
encode, equals, getSpecification, getSpecificationLoader, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.runtime.persistence.query.PersistenceQuery |
|---|
getSpecification |
| Constructor Detail |
|---|
public PersistenceQueryFindByPattern(NakedObjectSpecification specification,
NakedObject pattern)
| Method Detail |
|---|
public NakedObject getPattern()
public boolean matches(NakedObject object)
PersistenceQueryBuiltIn
This is similar to the Filter interface in the applib, except the
filtering is done within the object store as opposed to be the
DomainObjectContainer.
Object store implementations do not necessarily need to rely on this method. For example, an RDBMS-based implementation may use an alternative mechanism to determine the matching results, for example using a WHERE clause in some SQL query.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||