public static class AbstractLoadPlanBuilderStrategy.CircularFetch extends Object implements BidirectionalEntityFetch, EntityReference, Fetch
| Constructor and Description |
|---|
AbstractLoadPlanBuilderStrategy.CircularFetch(FetchOwner circularFetchOwner,
FetchOwner associationOwner,
AttributeDefinition attributeDefinition) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdditionalJoinConditions() |
EntityPersister |
getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return.
|
EntityReference |
getEntityReference() |
Type |
getFetchedType() |
FetchStrategy |
getFetchStrategy()
Gets the fetch strategy for this fetch.
|
IdentifierDescription |
getIdentifierDescription() |
LockMode |
getLockMode()
Retrieve the lock mode associated with this return.
|
FetchOwner |
getOwner()
Obtain the owner of this fetch.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch
|
EntityReference |
getTargetEntityReference()
Get the targeted EntityReference
|
void |
injectIdentifierDescription(IdentifierDescription identifierDescription) |
boolean |
isNullable()
Is this fetch nullable?
|
Fetch |
makeCopy(CopyContext copyContext,
FetchOwner fetchOwnerCopy) |
protected static EntityReference |
resolveEntityReference(FetchOwner owner) |
String[] |
toSqlSelectFragments(String alias)
Generates the SQL select fragments for this fetch.
|
public AbstractLoadPlanBuilderStrategy.CircularFetch(FetchOwner circularFetchOwner, FetchOwner associationOwner, AttributeDefinition attributeDefinition)
public EntityReference getTargetEntityReference()
BidirectionalEntityFetchgetTargetEntityReference in interface BidirectionalEntityFetchprotected static EntityReference resolveEntityReference(FetchOwner owner)
public FetchOwner getOwner()
Fetchpublic PropertyPath getPropertyPath()
FetchgetPropertyPath in interface Fetchpublic Type getFetchedType()
getFetchedType in interface Fetchpublic FetchStrategy getFetchStrategy()
FetchgetFetchStrategy in interface Fetchpublic boolean isNullable()
FetchisNullable in interface Fetchpublic String getAdditionalJoinConditions()
getAdditionalJoinConditions in interface Fetchpublic String[] toSqlSelectFragments(String alias)
FetchtoSqlSelectFragments in interface Fetchpublic Fetch makeCopy(CopyContext copyContext, FetchOwner fetchOwnerCopy)
makeCopy in interface CopyableFetchmakeCopy in interface Fetchpublic LockMode getLockMode()
EntityReferencegetLockMode 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 injectIdentifierDescription(IdentifierDescription identifierDescription)
injectIdentifierDescription in interface IdentifierDescriptionInjectableCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.