| Modifier and Type | Field and Description |
|---|---|
| private final EntityMappingType | |
| private final CollectionPersister | |
| private final CollectionPart. | |
| private final NavigableRole | |
| private final NotFoundAction | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| public | AbstractEntityCollectionPart(CollectionPart.
|
| protected |
| associatedEntityTypeDescriptor | back to summary |
|---|---|
| private final EntityMappingType associatedEntityTypeDescriptor | |
| collectionDescriptor | back to summary |
|---|---|
| private final CollectionPersister collectionDescriptor | |
| nature | back to summary |
|---|---|
| private final CollectionPart. | |
| navigableRole | back to summary |
|---|---|
| private final NavigableRole navigableRole | |
| notFoundAction | back to summary |
|---|---|
| private final NotFoundAction notFoundAction | |
| targetKeyPropertyNames | back to summary |
|---|---|
| private final Set<String> targetKeyPropertyNames | |
| AbstractEntityCollectionPart | back to summary |
|---|---|
| public AbstractEntityCollectionPart(CollectionPart. | |
| AbstractEntityCollectionPart | back to summary |
|---|---|
| protected AbstractEntityCollectionPart(AbstractEntityCollectionPart original) For Hibernate Reactive | |
| buildEagerCollectionFetch | back to summary |
|---|---|
| protected EagerCollectionFetch buildEagerCollectionFetch(NavigablePath fetchedPath, PluralAttributeMapping fetchedAttribute, TableGroup collectionTableGroup, FetchParent fetchParent, DomainResultCreationState creationState) For Hibernate Reactive | |
| buildEntityFetchJoined | back to summary |
|---|---|
| protected EntityFetch buildEntityFetchJoined(FetchParent fetchParent, AbstractEntityCollectionPart abstractEntityCollectionPart, TableGroup partTableGroup, NavigablePath fetchablePath, DomainResultCreationState creationState) For Hibernate Reactive | |
| containsTableReference | back to summary |
|---|---|
| public boolean containsTableReference(String tableExpression) Overrides default org.
| |
| createDomainResult | back to summary |
|---|---|
| public <T> DomainResult Overrides default org. Implements org. Doc from org. Create a DomainResult for a specific reference to this ModelPart.
| |
| createTableGroupInternal | back to summary |
|---|---|
| public TableGroup createTableGroupInternal(boolean canUseInnerJoins, NavigablePath navigablePath, boolean fetched, String sourceAlias, final SqlAliasBase sqlAliasBase, SqlAstCreationState creationState) | |
| disassemble | back to summary |
|---|---|
| public Object disassemble(Object value, SharedSessionContractImplementor session) Overrides default org. Implements org. Doc from org. Breaks down a value of
Generally speaking, this is the form in which entity state is kept relative to a
Session via
@Entity class Person {
@Id Integer id;
@Embedded Name name;
int age;
}
@Embeddable class Name {
String familiarName;
String familyName;
}
At the top level, we would want to disassemble a
Person( id=1, name=Name( 'Steve', 'Ebersole' ), 28 ) this disassemble would result in a multidimensional array:
[ ["Steve", "Ebersole"], 28 ] Note that the identifier is not part of this disassembled state. Note also how the embedded value results in a sub-array.
| |
| findContainingEntityMapping | back to summary |
|---|---|
| public EntityMappingType findContainingEntityMapping() Implements org.
| |
| generateFetch | back to summary |
|---|---|
| public EntityFetch generateFetch(FetchParent fetchParent, NavigablePath fetchablePath, FetchTiming fetchTiming, boolean selected, String resultVariable, DomainResultCreationState creationState) Implements org. Doc from org. Generates a Fetch of this fetchable
| |
| getAssociatedEntityMappingType | back to summary |
|---|---|
| public EntityMappingType getAssociatedEntityMappingType() Implements org.
| |
| getCollectionDescriptor | back to summary |
|---|---|
| public CollectionPersister getCollectionDescriptor() | |
| getFetchableKey | back to summary |
|---|---|
| public int getFetchableKey() Implements org. Doc from org. The key that identifies this Fetchable within a
The main intent of this key is to index e.g.
| |
| getFetchableName | back to summary |
|---|---|
| public String getFetchableName() Overrides default org. Doc from org. The name of the fetchable. This is the part's "local name".
| |
| getMappedFetchOptions | back to summary |
|---|---|
| public FetchOptions getMappedFetchOptions() Implements org. Doc from org. The configured fetch timing and style
| |
| getMappedType | back to summary |
|---|---|
| public EntityMappingType getMappedType() Implements org. Doc from org. Descriptor for the type of this mapping
| |
| getNature | back to summary |
|---|---|
| public CollectionPart. Implements org.
| |
| getNavigableRole | back to summary |
|---|---|
| public NavigableRole getNavigableRole() Implements org.
| |
| getNotFoundAction | back to summary |
|---|---|
| public NotFoundAction getNotFoundAction() Implements org.
| |
| getNumberOfFetchables | back to summary |
|---|---|
| public int getNumberOfFetchables() Implements org. Doc from org. The number of fetchables in the container
| |
| getSqlAliasStem | back to summary |
|---|---|
| public String getSqlAliasStem() Implements org. Doc from org. Get the "stem" used as the base for generating SQL table aliases for table references that are part of the TableGroup being generated Note that this is a metadata-ive value. It is only ever used internal to the producer producing its TableGroup.
| |
| getStyle | back to summary |
|---|---|
| public FetchStyle getStyle() Implements org.
| |
| getTargetKeyPropertyNames | back to summary |
|---|---|
| protected Set | |
| getTiming | back to summary |
|---|---|
| public FetchTiming getTiming() Implements org.
| |
| incrementFetchDepth | back to summary |
|---|---|
| public boolean incrementFetchDepth() Overrides default org. Doc from org. Should this Fetchable affect the fetch depth? E.g., composites would generally not increment the fetch depth.
| |
| isOptional | back to summary |
|---|---|
| public boolean isOptional() Implements org.
| |
| isUnwrapProxy | back to summary |
|---|---|
| public boolean isUnwrapProxy() Implements org.
| |
| resolveFetchAssociationKey | back to summary |
|---|---|
| protected abstract AssociationKey resolveFetchAssociationKey() | |
| resolveIndexTableGroup | back to summary |
|---|---|
| private TableGroup resolveIndexTableGroup(PluralTableGroup collectionTableGroup, NavigablePath fetchablePath, FromClauseAccess fromClauseAccess, DomainResultCreationState creationState) | |
| resolveTableGroup | back to summary |
|---|---|
| private TableGroup resolveTableGroup(NavigablePath fetchablePath, DomainResultCreationState creationState) | |
| resolveTargetKeyPropertyNames | back to summary |
|---|---|
| private static Set | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |