public class NamedSqlQuery extends Object implements Comparable<NamedSqlQuery>
| Constructor and Description |
|---|
NamedSqlQuery(String name,
QueryInfo queryInfo,
SqlQueryFactory sqlQueryFactory)
Create NamedSqlQuery object
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(NamedSqlQuery another)
Compares this object with the specified object for order.
|
javax.persistence.Query |
createQuery()
Returns native query
|
boolean |
equals(Object other)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
public NamedSqlQuery(String name, QueryInfo queryInfo, SqlQueryFactory sqlQueryFactory)
name - Name of queryqueryInfo - Native query informationsqlQueryFactory - Native query generatorpublic javax.persistence.Query createQuery()
public int compareTo(NamedSqlQuery another)
compareTo in interface Comparable<NamedSqlQuery>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.