类 AbstractCompositeEntityIdentifierDescription
- java.lang.Object
-
- org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
-
- org.hibernate.loader.plan.build.internal.returns.AbstractCompositeReference
-
- org.hibernate.loader.plan.build.internal.returns.AbstractCompositeFetch
-
- org.hibernate.loader.plan.build.internal.returns.AbstractCompositeEntityIdentifierDescription
-
- 所有已实现的接口:
ExpandingEntityIdentifierDescription,ExpandingFetchSource,CompositeFetch,EntityIdentifierDescription,Fetch,FetchSource
public abstract class AbstractCompositeEntityIdentifierDescription extends AbstractCompositeFetch implements ExpandingEntityIdentifierDescription
- 作者:
- Steve Ebersole, Gail Badner
-
-
字段概要
-
从类继承的字段 org.hibernate.loader.plan.build.internal.returns.AbstractCompositeFetch
FETCH_STRATEGY
-
-
构造器概要
构造器 限定符 构造器 说明 protectedAbstractCompositeEntityIdentifierDescription(EntityReference entityReference, ExpandingCompositeQuerySpace compositeQuerySpace, CompositeType identifierType, PropertyPath propertyPath)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 TypegetFetchedType()Get the Hibernate Type that describes the fetched attributeFetchSourcegetSource()Obtain the owner of this fetch.booleanhasBidirectionalEntityReferences()Can this EntityIdentifierDescription be treated as a FetchSource and if so does it have any bidirectional entity references?booleanhasFetches()Can this EntityIdentifierDescription be treated as a FetchSource and if so does it have any fetches?booleanisNullable()Is this fetch nullable?EntityReferenceresolveEntityReference()Resolve the "current"EntityReference, or null if none.-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractCompositeFetch
getAdditionalJoinConditions, getFetchStrategy, toSqlSelectFragments
-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractCompositeReference
buildCollectionAttributeFetch, createCompositeAttributeFetch, validateFetchPlan
-
从类继承的方法 org.hibernate.loader.plan.build.internal.returns.AbstractExpandingFetchSource
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCompositeAttributeFetch, buildEntityAttributeFetch, expandingQuerySpace, getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaces, getQuerySpaceUid
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.plan.build.spi.ExpandingFetchSource
buildAnyAttributeFetch, buildBidirectionalEntityReference, buildCollectionAttributeFetch, buildCompositeAttributeFetch, buildEntityAttributeFetch, validateFetchPlan
-
从接口继承的方法 org.hibernate.loader.plan.spi.Fetch
getPropertyPath
-
从接口继承的方法 org.hibernate.loader.plan.spi.FetchSource
getBidirectionalEntityReferences, getFetches, getPropertyPath, getQuerySpaceUid
-
-
-
-
构造器详细资料
-
AbstractCompositeEntityIdentifierDescription
protected AbstractCompositeEntityIdentifierDescription(EntityReference entityReference, ExpandingCompositeQuerySpace compositeQuerySpace, CompositeType identifierType, PropertyPath propertyPath)
-
-
方法详细资料
-
hasFetches
public boolean hasFetches()
从接口复制的说明:EntityIdentifierDescriptionCan this EntityIdentifierDescription be treated as a FetchSource and if so does it have any fetches?- 指定者:
hasFetches在接口中EntityIdentifierDescription- 返回:
trueiffthiscan be cast toFetchSourceand (after casting) it returns non-empty results forFetchSource.getFetches()
-
hasBidirectionalEntityReferences
public boolean hasBidirectionalEntityReferences()
从接口复制的说明:EntityIdentifierDescriptionCan this EntityIdentifierDescription be treated as a FetchSource and if so does it have any bidirectional entity references?- 指定者:
hasBidirectionalEntityReferences在接口中EntityIdentifierDescription- 返回:
trueiffthiscan be cast toFetchSourceand (after casting) it returns non-empty results forFetchSource.getBidirectionalEntityReferences()
-
getSource
public FetchSource getSource()
从接口复制的说明:FetchObtain the owner of this fetch.
-
getFetchedType
public Type getFetchedType()
从接口复制的说明:FetchGet the Hibernate Type that describes the fetched attribute- 指定者:
getFetchedType在接口中Fetch- 返回:
- The Type of the fetched attribute
-
isNullable
public boolean isNullable()
从接口复制的说明:FetchIs this fetch nullable?- 指定者:
isNullable在接口中Fetch- 返回:
- true, if this fetch is nullable; false, otherwise.
-
resolveEntityReference
public EntityReference resolveEntityReference()
从接口复制的说明:FetchSourceResolve the "current"EntityReference, or null if none. If this object is anEntityReference, then this object is returned; otherwise, if this object is aFetch, then the nearestEntityReferencewill be resolved from its source, if possible. If no EntityReference can be resolved, null is return.- 指定者:
resolveEntityReference在接口中FetchSource- 返回:
- the "current" EntityReference or null if none. .
-
-