org.eclipse.jpt.core.context.java
Interface JavaQueryContainer
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IResourcePart, JavaJpaContextNode, JpaContextNode, JpaNode, Model, QueryContainer
public interface JavaQueryContainer
- extends QueryContainer, JavaJpaContextNode
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
| 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.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 |
namedQueries
java.util.ListIterator<JavaNamedQuery> 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
JavaNamedQuery 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<JavaNamedNativeQuery> 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
JavaNamedNativeQuery 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
initialize
void initialize(JavaResourcePersistentMember jrpm)
update
void update(JavaResourcePersistentMember jrpm)
- Update the JavaGeneratorContainer context model object to match the JavaResourcePersistentMember
resource model object. see
JpaProject.update()