public class AnyAttributeFetchImpl extends AbstractAnyReference implements AnyAttributeFetch, AttributeFetch
| Constructor and Description |
|---|
AnyAttributeFetchImpl(FetchSource fetchSource,
AssociationAttributeDefinition fetchedAttribute,
FetchStrategy fetchStrategy) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAdditionalJoinConditions() |
AttributeDefinition |
getFetchedAttributeDefinition()
Returns the
AttributeDefinition for attribute being fetched. |
AnyType |
getFetchedType()
Get the Hibernate Type that describes the fetched attribute
|
FetchStrategy |
getFetchStrategy()
Gets the fetch strategy for this fetch.
|
FetchSource |
getSource()
Obtain the owner of this fetch.
|
boolean |
isNullable()
Is this fetch nullable?
|
EntityReference |
resolveEntityReference()
Resolve the "current"
EntityReference, or null if none. |
String[] |
toSqlSelectFragments(String alias)
Generates the SQL select fragments for this fetch.
|
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUidgetPropertyPathpublic AnyAttributeFetchImpl(FetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy)
public FetchSource getSource()
Fetchpublic FetchStrategy getFetchStrategy()
FetchgetFetchStrategy in interface Fetchpublic AnyType getFetchedType()
FetchgetFetchedType in interface Fetchpublic boolean isNullable()
FetchisNullable in interface Fetchpublic String[] toSqlSelectFragments(String alias)
FetchtoSqlSelectFragments in interface Fetchpublic String getAdditionalJoinConditions()
getAdditionalJoinConditions in interface Fetchpublic 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 AttributeDefinition getFetchedAttributeDefinition()
AttributeFetchAttributeDefinition for attribute being fetched.getFetchedAttributeDefinition in interface AttributeFetchCopyright © 2018 JBoss by Red Hat. All rights reserved.