public class BidirectionalEntityReferenceImpl extends Object implements BidirectionalEntityReference
| Constructor and Description |
|---|
BidirectionalEntityReferenceImpl(ExpandingFetchSource fetchSource,
AssociationAttributeDefinition fetchedAttribute,
EntityReference targetEntityReference) |
| Modifier and Type | Method and Description |
|---|---|
BidirectionalEntityReference[] |
getBidirectionalEntityReferences()
Retrieve the bidirectional entity references owned by this fetch source.
|
EntityPersister |
getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return.
|
Fetch[] |
getFetches()
Retrieve the fetches owned by this fetch source.
|
EntityIdentifierDescription |
getIdentifierDescription()
Get the description of this entity's identifier descriptor.
|
PropertyPath |
getPropertyPath()
Get the property path to this fetch source
|
String |
getQuerySpaceUid()
The query space UID returned using
BidirectionalEntityReference.getQuerySpaceUid() must
be the same as returned by #getTargetEntityReference()#getQuerySpaceUid() |
EntityReference |
getTargetEntityReference()
Get the targeted EntityReference
|
EntityReference |
resolveEntityReference()
Resolve the "current"
EntityReference, or null if none. |
public BidirectionalEntityReferenceImpl(ExpandingFetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, EntityReference targetEntityReference)
public EntityReference getTargetEntityReference()
BidirectionalEntityReferencegetTargetEntityReference in interface BidirectionalEntityReferencepublic PropertyPath getPropertyPath()
FetchSourcegetPropertyPath in interface FetchSourcepublic String getQuerySpaceUid()
BidirectionalEntityReferenceBidirectionalEntityReference.getQuerySpaceUid() must
be the same as returned by #getTargetEntityReference()#getQuerySpaceUid()getQuerySpaceUid in interface BidirectionalEntityReferencegetQuerySpaceUid in interface EntityReferencegetQuerySpaceUid in interface FetchSourcepublic Fetch[] getFetches()
FetchSourcegetFetches in interface FetchSourcepublic BidirectionalEntityReference[] getBidirectionalEntityReferences()
FetchSourcegetBidirectionalEntityReferences in interface FetchSourcepublic 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 EntityReferenceCopyright © 2018 JBoss by Red Hat. All rights reserved.