use of org.apache.cayenne.map.ProcedureQueryDescriptor in project cayenne by apache.
the class ProcedureQueryView method setEntity.
void setEntity(ObjEntity entity) {
QueryDescriptor query = mediator.getCurrentQuery();
if (query != null && QueryDescriptor.PROCEDURE_QUERY.equals(query.getType())) {
((ProcedureQueryDescriptor) query).setResultEntityName(entity != null ? entity.getName() : null);
mediator.fireQueryEvent(new QueryEvent(this, query));
}
}
Aggregations