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

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

public interface OrmQueryContainer
extends QueryContainer, XmlContextNode

The orm.xml representation of a PrimaryKeyJoinColumnJoiningStrategy 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.core.context.QueryContainer
NAMED_NATIVE_QUERIES_LIST, NAMED_QUERIES_LIST
 
Method Summary
 OrmNamedNativeQuery addNamedNativeQuery(int index)
          Add a named native query to the entity return the object representing it.
 OrmNamedQuery addNamedQuery(int index)
          Add a named query to the entity return the object representing it.
 java.util.ListIterator<OrmNamedNativeQuery> namedNativeQueries()
          Return a list iterator of the specified named native queries.
 java.util.ListIterator<OrmNamedQuery> namedQueries()
          Return a list iterator of the named queries.
 void update()
           
 
Methods inherited from interface org.eclipse.jpt.core.context.QueryContainer
moveNamedNativeQuery, moveNamedQuery, namedNativeQueriesSize, namedQueriesSize, removeNamedNativeQuery, removeNamedNativeQuery, removeNamedQuery, removeNamedQuery
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart
getResource
 
Methods inherited from interface org.eclipse.jpt.core.context.XmlContextNode
getValidationTextRange, validate
 
Methods inherited from interface org.eclipse.jpt.core.context.JpaContextNode
getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getPersistenceUnit, getResourceType, postUpdate
 
Methods inherited from interface org.eclipse.jpt.core.JpaNode
getJpaProject, getParent
 
Methods inherited from interface org.eclipse.jpt.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.core.IResourcePart
getResource
 

Method Detail

namedQueries

java.util.ListIterator<OrmNamedQuery> namedQueries()
Description copied from interface: QueryContainer
Return a list iterator of the named queries. This will not be null.

Specified by:
namedQueries in interface QueryContainer

addNamedQuery

OrmNamedQuery addNamedQuery(int index)
Description copied from interface: QueryContainer
Add a named query to the entity return the object representing it.

Specified by:
addNamedQuery in interface QueryContainer

namedNativeQueries

java.util.ListIterator<OrmNamedNativeQuery> namedNativeQueries()
Description copied from interface: QueryContainer
Return a list iterator of the specified named native queries. This will not be null.

Specified by:
namedNativeQueries in interface QueryContainer

addNamedNativeQuery

OrmNamedNativeQuery addNamedNativeQuery(int index)
Description copied from interface: QueryContainer
Add a named native query to the entity return the object representing it.

Specified by:
addNamedNativeQuery in interface QueryContainer

update

void update()