|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryContainer
Container for named queries and/or named native queries.
Used by entities and the orm.xml
entity-mappings element.
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.
| Field Summary | |
|---|---|
static java.lang.String |
NAMED_NATIVE_QUERIES_LIST
|
static java.lang.String |
NAMED_QUERIES_LIST
|
| Method Summary | ||
|---|---|---|
NamedNativeQuery |
addNamedNativeQuery()
Add a new named native query to the container and return it. |
|
NamedNativeQuery |
addNamedNativeQuery(int index)
Add a new named native query to the container at the specified index and return it. |
|
NamedQuery |
addNamedQuery()
Add a new named query to the container and return it. |
|
NamedQuery |
addNamedQuery(int index)
Add a new named query to the container at the specified index and return it. |
|
void |
moveNamedNativeQuery(int targetIndex,
int sourceIndex)
Move a named native query as specified. |
|
void |
moveNamedQuery(int targetIndex,
int sourceIndex)
Move a named query as specified. |
|
|
namedNativeQueries()
Return the container's named native queries. |
|
int |
namedNativeQueriesSize()
Return the number of named native queries. |
|
|
namedQueries()
Return the container's named queries. |
|
int |
namedQueriesSize()
Return the number of named queries. |
|
void |
removeNamedNativeQuery(int index)
Remove from the container the named native query at the specified index. |
|
void |
removeNamedNativeQuery(NamedNativeQuery namedNativeQuery)
Remove the specified named native query from the container. |
|
void |
removeNamedQuery(int index)
Remove from the container the named query at the specified index. |
|
void |
removeNamedQuery(NamedQuery namedQuery)
Remove the specified named query from the container. |
|
| 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 |
| Field Detail |
|---|
static final java.lang.String NAMED_QUERIES_LIST
static final java.lang.String NAMED_NATIVE_QUERIES_LIST
| Method Detail |
|---|
<T extends NamedQuery> java.util.ListIterator<T> namedQueries()
int namedQueriesSize()
NamedQuery addNamedQuery()
NamedQuery addNamedQuery(int index)
void removeNamedQuery(int index)
void removeNamedQuery(NamedQuery namedQuery)
void moveNamedQuery(int targetIndex,
int sourceIndex)
<T extends NamedNativeQuery> java.util.ListIterator<T> namedNativeQueries()
int namedNativeQueriesSize()
NamedNativeQuery addNamedNativeQuery()
NamedNativeQuery addNamedNativeQuery(int index)
void removeNamedNativeQuery(int index)
void removeNamedNativeQuery(NamedNativeQuery namedNativeQuery)
void moveNamedNativeQuery(int targetIndex,
int sourceIndex)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||