Search in sources :

Example 1 with QueryType

use of com.developmentontheedge.be5.metadata.QueryType in project be5 by DevelopmentOnTheEdge.

the class ActionHelperTest method getQuery.

private Query getQuery(QueryType type, String queryCode) {
    Entity entity = meta.getEntity("testtable");
    Query query = new Query("ActionHelperTest", entity);
    query.setType(type);
    query.setQuery(queryCode);
    return query;
}
Also used : Entity(com.developmentontheedge.be5.metadata.model.Entity) Query(com.developmentontheedge.be5.metadata.model.Query)

Aggregations

Entity (com.developmentontheedge.be5.metadata.model.Entity)1 Query (com.developmentontheedge.be5.metadata.model.Query)1