org.nakedobjects.metamodel.services.container.query
Class QueryFindByPattern<T>

java.lang.Object
  extended by org.nakedobjects.applib.query.QueryAbstract<T>
      extended by org.nakedobjects.metamodel.services.container.query.QueryBuiltInAbstract<T>
          extended by org.nakedobjects.metamodel.services.container.query.QueryFindByPattern<T>
All Implemented Interfaces:
java.io.Serializable, Query<T>

public class QueryFindByPattern<T>
extends QueryBuiltInAbstract<T>

Although implements Query and thus is ought to be Serializable, it will be converted into a PersistenceQuery in the runtime for remoting purposes and so does not need to be (and indeed isn't).

See discussion in QueryBuiltInAbstract for further details.

See Also:
Serialized Form

Constructor Summary
QueryFindByPattern(java.lang.Class<T> type, T pattern)
           
 
Method Summary
 java.lang.String getDescription()
           
 T getPattern()
           
 
Methods inherited from class org.nakedobjects.applib.query.QueryAbstract
getResultType, getResultTypeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryFindByPattern

public QueryFindByPattern(java.lang.Class<T> type,
                          T pattern)
Method Detail

getPattern

public T getPattern()

getDescription

public java.lang.String getDescription()


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