public abstract class AbstractEntityReference extends AbstractExpandingFetchSource implements EntityReference
| Constructor and Description |
|---|
AbstractEntityReference(ExpandingEntityQuerySpace entityQuerySpace,
PropertyPath propertyPath) |
| Modifier and Type | Method and Description |
|---|---|
protected CompositeAttributeFetch |
createCompositeAttributeFetch(AttributeDefinition attributeDefinition,
ExpandingCompositeQuerySpace compositeQuerySpace) |
EntityPersister |
getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return.
|
EntityIdentifierDescription |
getIdentifierDescription()
Get the description of this entity's identifier descriptor.
|
EntityReference |
resolveEntityReference()
Resolve the "current"
EntityReference, or null if none. |
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCollectionAttributeFetch, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetQuerySpaceUidgetBidirectionalEntityReferences, getFetches, getPropertyPathvalidateFetchPlanpublic AbstractEntityReference(ExpandingEntityQuerySpace entityQuerySpace, PropertyPath propertyPath)
public EntityReference resolveEntityReference()
FetchSourceEntityReference, or null if none.
If this object is an EntityReference, then this object is returned;
otherwise, if this object is a Fetch, then the nearest
EntityReference will be resolved from its source, if possible.
If no EntityReference can be resolved, null is return.resolveEntityReference in interface FetchSourceFetch.getSource().public EntityPersister getEntityPersister()
EntityReferencegetEntityPersister in interface EntityReferencepublic EntityIdentifierDescription getIdentifierDescription()
EntityReferencegetIdentifierDescription in interface EntityReferenceprotected CompositeAttributeFetch createCompositeAttributeFetch(AttributeDefinition attributeDefinition, ExpandingCompositeQuerySpace compositeQuerySpace)
createCompositeAttributeFetch in class AbstractExpandingFetchSourceCopyright © 2018 JBoss by Red Hat. All rights reserved.