org.nakedobjects.runtime.persistence.query
Class PersistenceQueryFindByTitle
java.lang.Object
org.nakedobjects.runtime.persistence.query.PersistenceQueryAbstract
org.nakedobjects.runtime.persistence.query.PersistenceQueryBuiltInAbstract
org.nakedobjects.runtime.persistence.query.PersistenceQueryFindByTitle
- All Implemented Interfaces:
- Encodable, PersistenceQuery, PersistenceQueryBuiltIn
public class PersistenceQueryFindByTitle
- extends PersistenceQueryBuiltInAbstract
Corresponds to QueryFindByTitle.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PersistenceQueryFindByTitle
public PersistenceQueryFindByTitle(NakedObjectSpecification specification,
java.lang.String title)
getTitle
public java.lang.String getTitle()
matches
public boolean matches(NakedObject object)
- Description copied from interface:
PersistenceQueryBuiltIn
- The built-in queries iterate over all instances.
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.
matches
public boolean matches(java.lang.String titleString)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.