org.nakedobjects.runtime.persistence.query
Class PersistenceQueryFindAllInstances

java.lang.Object
  extended by org.nakedobjects.runtime.persistence.query.PersistenceQueryAbstract
      extended by org.nakedobjects.runtime.persistence.query.PersistenceQueryBuiltInAbstract
          extended by org.nakedobjects.runtime.persistence.query.PersistenceQueryFindAllInstances
All Implemented Interfaces:
Encodable, PersistenceQuery, PersistenceQueryBuiltIn

public class PersistenceQueryFindAllInstances
extends PersistenceQueryBuiltInAbstract

Corresponds to QueryFindAllInstances


Constructor Summary
PersistenceQueryFindAllInstances(NakedObjectSpecification specification)
           
 
Method Summary
 boolean matches(NakedObject object)
          Returns true so it matches all instances.
 java.lang.String toString()
           
 
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, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.runtime.persistence.query.PersistenceQuery
getSpecification
 

Constructor Detail

PersistenceQueryFindAllInstances

public PersistenceQueryFindAllInstances(NakedObjectSpecification specification)
Method Detail

matches

public boolean matches(NakedObject object)
Returns true so it matches all instances.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.