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, getQuerySpaceUid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
getPropertyPath
public AnyAttributeFetchImpl(FetchSource fetchSource, AssociationAttributeDefinition fetchedAttribute, FetchStrategy fetchStrategy)
public FetchSource getSource()
Fetch
public FetchStrategy getFetchStrategy()
Fetch
getFetchStrategy
in interface Fetch
public AnyType getFetchedType()
Fetch
getFetchedType
in interface Fetch
public boolean isNullable()
Fetch
isNullable
in interface Fetch
public String[] toSqlSelectFragments(String alias)
Fetch
toSqlSelectFragments
in interface Fetch
public String getAdditionalJoinConditions()
getAdditionalJoinConditions
in interface Fetch
public EntityReference resolveEntityReference()
FetchSource
EntityReference
, 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 FetchSource
Fetch.getSource().
public AttributeDefinition getFetchedAttributeDefinition()
AttributeFetch
AttributeDefinition
for attribute being fetched.getFetchedAttributeDefinition
in interface AttributeFetch
Copyright © 2021 JBoss by Red Hat. All rights reserved.