org.eclipse.jpt.jpa.core.jpa2.context
Interface NamedQuery2_0

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IResourcePart, JpaContextNode, JpaNamedContextNode<Query>, JpaNode, Model, NamedQuery, Query
All Known Subinterfaces:
JavaNamedQuery2_0, OrmNamedQuery2_0

public interface NamedQuery2_0
extends NamedQuery

JPA 2.0 named query

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
static java.lang.String DEFAULT_LOCK_MODE_PROPERTY
           
static java.lang.String SPECIFIED_LOCK_MODE_PROPERTY
           
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.Query
HINTS_LIST, PRECEDENCE_TYPE_LIST, QUERY_PROPERTY
 
Fields inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
NAME_PROPERTY
 
Method Summary
 LockModeType2_0 getDefaultLockMode()
           
 LockModeType2_0 getLockMode()
          Return the specified lock mode if present, otherwise return the default lock mode.
 LockModeType2_0 getSpecifiedLockMode()
           
 void setSpecifiedLockMode(LockModeType2_0 lockMode)
           
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.Query
addHint, addHint, getHints, getHintsSize, getQuery, moveHint, removeHint, removeHint, setQuery
 
Methods inherited from interface org.eclipse.jpt.jpa.core.context.JpaNamedContextNode
duplicates, getName, overrides, setName
 
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

SPECIFIED_LOCK_MODE_PROPERTY

static final java.lang.String SPECIFIED_LOCK_MODE_PROPERTY
See Also:
Constant Field Values

DEFAULT_LOCK_MODE_PROPERTY

static final java.lang.String DEFAULT_LOCK_MODE_PROPERTY
See Also:
Constant Field Values
Method Detail

getLockMode

LockModeType2_0 getLockMode()
Return the specified lock mode if present, otherwise return the default lock mode.


getSpecifiedLockMode

LockModeType2_0 getSpecifiedLockMode()

setSpecifiedLockMode

void setSpecifiedLockMode(LockModeType2_0 lockMode)

getDefaultLockMode

LockModeType2_0 getDefaultLockMode()