public class CompositeElementGraph extends AbstractFetchOwner implements FetchableCollectionElement
FetchOwner for a composite collection element.NO_FETCHES| Constructor and Description |
|---|
CompositeElementGraph(CompositeElementGraph original,
CopyContext copyContext) |
CompositeElementGraph(SessionFactoryImplementor sessionFactory,
CollectionReference collectionReference,
PropertyPath collectionPath)
Constructs a
CompositeElementGraph. |
| Modifier and Type | Method and Description |
|---|---|
CollectionFetch |
buildCollectionFetch(AssociationAttributeDefinition attributeDefinition,
FetchStrategy fetchStrategy,
LoadPlanBuildingContext loadPlanBuildingContext) |
CollectionReference |
getCollectionReference()
Returns the collection reference.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch owner
|
CompositeElementGraph |
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, buildCompositeFetch, buildEntityFetch, getFetches, getType, isNullable, toSqlSelectFragmentssessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFetch, buildAnyFetch, buildCompositeFetch, buildEntityFetch, getFetches, getType, isNullable, toSqlSelectFragmentspublic CompositeElementGraph(SessionFactoryImplementor sessionFactory, CollectionReference collectionReference, PropertyPath collectionPath)
CompositeElementGraph.sessionFactory - - the session factory.collectionReference - - the collection reference.collectionPath - - the PropertyPath for the collection.public CompositeElementGraph(CompositeElementGraph original, CopyContext copyContext)
public CollectionReference getCollectionReference()
FetchableCollectionElementgetCollectionReference in interface FetchableCollectionElementpublic 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 CompositeElementGraph makeCopy(CopyContext copyContext)
CopyableReturnmakeCopy in interface CopyableReturnmakeCopy in interface FetchableCollectionElementpublic CollectionFetch buildCollectionFetch(AssociationAttributeDefinition attributeDefinition, FetchStrategy fetchStrategy, LoadPlanBuildingContext loadPlanBuildingContext)
buildCollectionFetch in interface FetchOwnerbuildCollectionFetch in class AbstractFetchOwnerpublic SqlSelectFragmentResolver toSqlSelectFragmentResolver()
toSqlSelectFragmentResolver in interface FetchOwnerCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.