HHH-15894 - Clean-up EntityMappingType for API

This commit is contained in:
Steve Ebersole 2022-12-19 11:46:51 -06:00
parent 1715f09a89
commit e0f55e5d53
4 changed files with 6 additions and 9 deletions

View File

@ -14,10 +14,6 @@ import org.hibernate.sql.ast.tree.predicate.Predicate;
/** /**
* Things that have a discriminator associated with it. * Things that have a discriminator associated with it.
*
* @apiNote Plural-attributes are considered discriminatable, which only
* has an effect for to-many collections and applies the discriminator from
* the associated entity
*/ */
public interface Discriminatable { public interface Discriminatable {
/** /**

View File

@ -14,9 +14,7 @@ import org.hibernate.sql.results.graph.FetchableContainer;
import org.hibernate.type.descriptor.java.JavaType; import org.hibernate.type.descriptor.java.JavaType;
/** /**
* Mapping-model corollary to JPA's {@link jakarta.persistence.metamodel.ManagedType} * Mapping-model corollary to {@link jakarta.persistence.metamodel.ManagedType}
*
* @see jakarta.persistence.metamodel.ManagedType
* *
* @author Steve Ebersole * @author Steve Ebersole
*/ */

View File

@ -17,7 +17,9 @@ import org.hibernate.sql.ast.tree.predicate.Predicate;
/** /**
* Things that can have {@link org.hibernate.annotations.Where}, * Things that can have {@link org.hibernate.annotations.Where},
* and/or {@link org.hibernate.annotations.Filter} applied to them * and/or {@link org.hibernate.annotations.Filter} applied to them.
* This is effectively {@linkplain EntityMappingType entities} and
* {@linkplain PluralAttributeMapping plural attributes}.
*/ */
public interface Restrictable extends FilterRestrictable, WhereRestrictable { public interface Restrictable extends FilterRestrictable, WhereRestrictable {
/** /**

View File

@ -16,7 +16,8 @@ import org.hibernate.metamodel.model.domain.NavigableRole;
import org.hibernate.spi.NavigablePath; import org.hibernate.spi.NavigablePath;
/** /**
* Parts of the domain model that can be fetched * Parts of the domain model that can be fetched. In other words,
* a {@link ModelPart} which can produce {@link Fetch} references.
* *
* @author Steve Ebersole * @author Steve Ebersole
*/ */