public class EntityIndexGraph extends AbstractFetchOwner implements FetchableCollectionIndex, EntityReference
FetchOwner for a collection index that is an entity.NO_FETCHES| Constructor and Description |
|---|
EntityIndexGraph(EntityIndexGraph original,
CopyContext copyContext) |
EntityIndexGraph(SessionFactoryImplementor sessionFactory,
CollectionReference collectionReference,
PropertyPath collectionPath)
Constructs an
EntityIndexGraph. |
| Modifier and Type | Method and Description |
|---|---|
CollectionReference |
getCollectionReference()
Returns the collection reference.
|
EntityPersister |
getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return.
|
EntityReference |
getEntityReference() |
IdentifierDescription |
getIdentifierDescription() |
LockMode |
getLockMode()
TODO: Does lock mode apply to a collection index that is an entity?
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch owner
|
void |
injectIdentifierDescription(IdentifierDescription identifierDescription) |
EntityIndexGraph |
makeCopy(CopyContext copyContext)
Makes a deep copy.
|
EntityPersister |
retrieveFetchSourcePersister()
Retrieve the EntityPersister that is the base for any property references in the fetches it owns.
|
SqlSelectFragmentResolver |
toSqlSelectFragmentResolver() |
void |
validateFetchPlan(FetchStrategy fetchStrategy,
AttributeDefinition attributeDefinition)
Is the asserted plan valid from this owner to a fetch?
|
addFetch, buildAnyFetch, buildCollectionFetch, buildCompositeFetch, buildEntityFetch, getFetches, getType, isNullable, toSqlSelectFragmentssessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFetch, buildAnyFetch, buildCollectionFetch, buildCompositeFetch, buildEntityFetch, getFetches, getType, isNullable, toSqlSelectFragmentspublic EntityIndexGraph(SessionFactoryImplementor sessionFactory, CollectionReference collectionReference, PropertyPath collectionPath)
EntityIndexGraph.sessionFactory - - the session factory.collectionReference - - the collection reference.collectionPath - - the PropertyPath for the collection.public EntityIndexGraph(EntityIndexGraph original, CopyContext copyContext)
public LockMode getLockMode()
getLockMode in interface ResultSetProcessingContext.EntityKeyResolutionContextgetLockMode in interface EntityReferencepublic EntityReference getEntityReference()
getEntityReference in interface ResultSetProcessingContext.EntityKeyResolutionContextpublic EntityPersister getEntityPersister()
EntityReferencegetEntityPersister in interface ResultSetProcessingContext.EntityKeyResolutionContextgetEntityPersister in interface EntityReferencepublic IdentifierDescription getIdentifierDescription()
getIdentifierDescription in interface EntityReferencepublic void validateFetchPlan(FetchStrategy fetchStrategy, AttributeDefinition attributeDefinition)
FetchOwnervalidateFetchPlan in interface FetchOwnerfetchStrategy - The type of fetch to validateattributeDefinition - The attribute to be fetchedpublic EntityPersister retrieveFetchSourcePersister()
FetchOwnerretrieveFetchSourcePersister in interface FetchOwnerpublic PropertyPath getPropertyPath()
FetchOwnergetPropertyPath in interface FetchOwnerpublic void injectIdentifierDescription(IdentifierDescription identifierDescription)
injectIdentifierDescription in interface IdentifierDescriptionInjectablepublic EntityIndexGraph makeCopy(CopyContext copyContext)
CopyableReturnmakeCopy in interface CopyableReturnmakeCopy in interface FetchableCollectionIndexpublic CollectionReference getCollectionReference()
FetchableCollectionIndexgetCollectionReference in interface FetchableCollectionIndexpublic SqlSelectFragmentResolver toSqlSelectFragmentResolver()
toSqlSelectFragmentResolver in interface FetchOwnerCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.