All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.services.container.query.QueryFindAllInstances Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.services.container.query;

import java.io.Serializable;

import org.nakedobjects.applib.query.Query;
import org.nakedobjects.metamodel.spec.NakedObjectSpecification;

/**
 * Although implements {@link Query} and thus is intended to be (and indeed is) {@link Serializable},
 * it will be converted into a PersistenceQuery in the runtime for remoting purposes.
 * 
 * 

* See discussion in {@link QueryBuiltInAbstract} for further details. */ public class QueryFindAllInstances extends QueryBuiltInAbstract { private static final long serialVersionUID = 1L; public QueryFindAllInstances(final Class type) { super(type); } public QueryFindAllInstances(final String typeName) { super(typeName); } public QueryFindAllInstances(final NakedObjectSpecification noSpec) { super(noSpec); } public String getDescription() { return getResultTypeName() + " (all instances)"; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy