org.eclipse.jpt.jpa.core.context.orm
Interface OrmNamedQuery

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNamedContextNode<Query>, JpaNode, Model, NamedQuery, OrmQuery, Query, XmlContextNode
All Known Subinterfaces:
OrmNamedQuery2_0

public interface OrmNamedQuery
extends OrmQuery, NamedQuery

orm.xml named query

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.0
Version:
2.1

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.Query
HINTS_LIST, PRECEDENCE_TYPE_LIST, QUERY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
NAME_PROPERTY
 
Method Summary
 org.eclipse.jpt.common.utility.internal.iterables.ListIterable<OrmQueryHint> getHints()
          Return the query's hints.
 XmlNamedQuery getXmlQuery()
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.orm.OrmQuery
addHint, addHint, getNameTextRange, getQueryTextRange
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.Query
getHintsSize, getQuery, moveHint, removeHint, removeHint, setQuery
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
duplicates, getName, overrides, setName
 

Method Detail

getXmlQuery

XmlNamedQuery getXmlQuery()
Specified by:
getXmlQuery in interface OrmQuery

getHints

org.eclipse.jpt.common.utility.internal.iterables.ListIterable<OrmQueryHint> getHints()
Description copied from interface: Query
Return the query's hints.

Specified by:
getHints in interface OrmQuery
Specified by:
getHints in interface Query