public class NamedDaoQuery extends Object implements Comparable<NamedDaoQuery>
| Constructor and Description |
|---|
NamedDaoQuery(Class<?> clazz,
String name,
DaoQueryFactory daoQueryFactory)
Create NamedDaoQuery object
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NamedDaoQuery another)
Compares this object with the specified object for order.
|
javax.persistence.Query |
createQuery(PersistenceDao<?,?> dao)
Returns OrmLite query
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one.
|
Class<?> |
getEntityClass()
Returns Entity class
|
int |
hashCode()
Returns a hash code value for the object.
|
public NamedDaoQuery(Class<?> clazz, String name, DaoQueryFactory daoQueryFactory)
clazz - Entity classname - Name of querydaoQueryFactory - Query generator which incorporates selection argumentspublic javax.persistence.Query createQuery(PersistenceDao<?,?> dao)
dao - Entity DAO containing open ConnectionSourcepublic Class<?> getEntityClass()
public int compareTo(NamedDaoQuery another)
compareTo in interface Comparable<NamedDaoQuery>another - The object to be compared.public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object other)
equals in class ObjectObject.equals(java.lang.Object)This documentation is licensed by Andrew Bowley under the GPLv3 License.