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

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNode, Model, QueryContainer, XmlContextNode

public interface OrmQueryContainer
extends QueryContainer, XmlContextNode

orm.xml query container

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.3
Version:
2.3

Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.QueryContainer
NAMED_NATIVE_QUERIES_LIST, NAMED_QUERIES_LIST
 
Method Summary
 OrmNamedNativeQuery addNamedNativeQuery()
          Add a new named native query to the container and return it.
 OrmNamedNativeQuery addNamedNativeQuery(int index)
          Add a new named native query to the container at the specified index and return it.
 OrmNamedQuery addNamedQuery()
          Add a new named query to the container and return it.
 OrmNamedQuery addNamedQuery(int index)
          Add a new named query to the container at the specified index and return it.
 java.util.ListIterator<OrmNamedNativeQuery> namedNativeQueries()
          Return the container's named native queries.
 java.util.ListIterator<OrmNamedQuery> namedQueries()
          Return the container's named queries.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.QueryContainer
moveNamedNativeQuery, moveNamedQuery, namedNativeQueriesSize, namedQueriesSize, removeNamedNativeQuery, removeNamedNativeQuery, removeNamedQuery, removeNamedQuery
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, synchronizeWithResourceModel, update
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaNode
getJpaProject, getParent, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.IResourcePart
getResource
 

Method Detail

namedQueries

java.util.ListIterator<OrmNamedQuery> namedQueries()
Description copied from interface: QueryContainer
Return the container's named queries.

Specified by:
namedQueries in interface QueryContainer

addNamedQuery

OrmNamedQuery addNamedQuery()
Description copied from interface: QueryContainer
Add a new named query to the container and return it.

Specified by:
addNamedQuery in interface QueryContainer

addNamedQuery

OrmNamedQuery addNamedQuery(int index)
Description copied from interface: QueryContainer
Add a new named query to the container at the specified index and return it.

Specified by:
addNamedQuery in interface QueryContainer

namedNativeQueries

java.util.ListIterator<OrmNamedNativeQuery> namedNativeQueries()
Description copied from interface: QueryContainer
Return the container's named native queries.

Specified by:
namedNativeQueries in interface QueryContainer

addNamedNativeQuery

OrmNamedNativeQuery addNamedNativeQuery()
Description copied from interface: QueryContainer
Add a new named native query to the container and return it.

Specified by:
addNamedNativeQuery in interface QueryContainer

addNamedNativeQuery

OrmNamedNativeQuery addNamedNativeQuery(int index)
Description copied from interface: QueryContainer
Add a new named native query to the container at the specified index and return it.

Specified by:
addNamedNativeQuery in interface QueryContainer