info.joseluismartin.dao.jpa.query
Class EntityTypeQueryFinder

java.lang.Object
  extended by info.joseluismartin.dao.jpa.query.QueryFinderSupport
      extended by info.joseluismartin.dao.jpa.query.EntityTypeQueryFinder
All Implemented Interfaces:
QueryFinder

public class EntityTypeQueryFinder
extends QueryFinderSupport

Find named queries declared annotated on EntityType.

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Constructor Summary
EntityTypeQueryFinder(javax.persistence.metamodel.EntityType<?> entityType)
           
 
Method Summary
 Map<String,String> find()
          Find for NamedQueries and return a Map with name as key and query string as value.
 
Methods inherited from class info.joseluismartin.dao.jpa.query.QueryFinderSupport
find
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityTypeQueryFinder

public EntityTypeQueryFinder(javax.persistence.metamodel.EntityType<?> entityType)
Parameters:
entityType -
Method Detail

find

public Map<String,String> find()
Find for NamedQueries and return a Map with name as key and query string as value.

Specified by:
find in interface QueryFinder
Specified by:
find in class QueryFinderSupport
Returns:
Map with query strings


Copyright © 2012 JDAL. All Rights Reserved.