Dali Provisional API
Release 3.2

org.eclipse.jpt.jpa.core.context.java
Interface JavaQueryContainer

All Superinterfaces:
IAdaptable, JpaContextModel, JpaModel, JptResourceTypeReference, Model, QueryContainer

public interface JavaQueryContainer
extends QueryContainer

Java 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

Nested Class Summary
static interface JavaQueryContainer.Parent
          Parent adapter
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.jpa.core.JpaModel
JpaModel.JpaVersionIsCompatibleWith
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
JptResourceTypeReference.ResourceTypeIsKindOf, JptResourceTypeReference.ResourceTypeTransformer
 
Field Summary
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.QueryContainer
NAMED_NATIVE_QUERIES_LIST, NAMED_QUERIES_LIST
 
Fields inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
TRANSFORMER
 
Method Summary
 JavaNamedNativeQuery addNamedNativeQuery()
          Add a new named native query to the container and return it.
 JavaNamedNativeQuery addNamedNativeQuery(int index)
          Add a new named native query to the container at the specified index and return it.
 JavaNamedQuery addNamedQuery()
          Add a new named query to the container and return it.
 JavaNamedQuery addNamedQuery(int index)
          Add a new named query to the container at the specified index and return it.
 org.eclipse.jpt.common.utility.iterable.ListIterable<JavaNamedNativeQuery> getNamedNativeQueries()
          Return the container's named native queries.
 org.eclipse.jpt.common.utility.iterable.ListIterable<JavaNamedQuery> getNamedQueries()
          Return the container's named queries.
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.QueryContainer
getNamedNativeQueriesSize, getNamedQueriesSize, getQueries, moveNamedNativeQuery, moveNamedQuery, removeNamedNativeQuery, removeNamedNativeQuery, removeNamedQuery, removeNamedQuery
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaContextModel
getCompletionProposals, getContextDefaultDbCatalog, getContextDefaultDbSchema, getContextDefaultDbSchemaContainer, getMappingFileRoot, getParent, getPersistenceUnit, getValidationTextRange, synchronizeWithResourceModel, update, validate
 
Methods inherited from interface org.eclipse.jpt.jpa.core.JpaModel
getJpaPlatform, getJpaProject, getJpaProjectManager, getResource, stateChanged
 
Methods inherited from interface org.eclipse.jpt.common.utility.model.Model
addChangeListener, addCollectionChangeListener, addListChangeListener, addPropertyChangeListener, addStateChangeListener, removeChangeListener, removeCollectionChangeListener, removeListChangeListener, removePropertyChangeListener, removeStateChangeListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.jpt.common.core.JptResourceTypeReference
getResourceType
 

Method Detail

getNamedQueries

org.eclipse.jpt.common.utility.iterable.ListIterable<JavaNamedQuery> getNamedQueries()
Description copied from interface: QueryContainer
Return the container's named queries.

Specified by:
getNamedQueries in interface QueryContainer

addNamedQuery

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

Specified by:
addNamedQuery in interface QueryContainer

addNamedQuery

JavaNamedQuery 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

getNamedNativeQueries

org.eclipse.jpt.common.utility.iterable.ListIterable<JavaNamedNativeQuery> getNamedNativeQueries()
Description copied from interface: QueryContainer
Return the container's named native queries.

Specified by:
getNamedNativeQueries in interface QueryContainer

addNamedNativeQuery

JavaNamedNativeQuery 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

JavaNamedNativeQuery 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

Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.