Class IObjectClassQuery

  • All Implemented Interfaces:
    org.springframework.orm.hibernate3.HibernateCallback

    public class IObjectClassQuery
    extends Query
    simple query subclass which uses the Parameters.CLASS parameter value to create a Criteria and then adds Expression instances based on all other parameter names.

    For example:

    Parameters p = new Parameters().addClass( Image.class ) .addString( "name", "LT-3059");

    produces a query of the form "select i from Image i where name = 'LT-3059'"

    Since:
    OMERO 3.0