rename Discriminatable -> Discriminable

Since "discriminatable" is not standard English
This commit is contained in:
Gavin King 2023-07-03 09:59:56 +02:00
parent a2e95b2b70
commit 67fab3df5b
3 changed files with 4 additions and 5 deletions

View File

@ -13,9 +13,9 @@ import org.hibernate.sql.ast.tree.from.TableGroup;
import org.hibernate.sql.ast.tree.predicate.Predicate;
/**
* Things that have a discriminator associated with it.
* Anything that has a discriminator associated with it.
*/
public interface Discriminatable {
public interface Discriminable {
DiscriminatorMapping getDiscriminatorMapping();
/**

View File

@ -6,7 +6,6 @@
*/
package org.hibernate.metamodel.mapping;
import org.hibernate.metamodel.mapping.internal.AnyDiscriminatorPart;
import org.hibernate.sql.ast.tree.from.TableGroupJoinProducer;
import org.hibernate.sql.ast.tree.predicate.Predicate;
import org.hibernate.sql.results.graph.Fetchable;
@ -22,7 +21,7 @@ import org.hibernate.sql.results.graph.FetchableContainer;
*
* @author Steve Ebersole
*/
public interface DiscriminatedAssociationModelPart extends Discriminatable, Fetchable, FetchableContainer, TableGroupJoinProducer {
public interface DiscriminatedAssociationModelPart extends Discriminable, Fetchable, FetchableContainer, TableGroupJoinProducer {
/**
* @deprecated Use {@link #getDiscriminatorMapping} instead.
*/

View File

@ -56,7 +56,7 @@ import static org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer.UNFETCH
* @author Steve Ebersole
*/
public interface EntityMappingType
extends ManagedMappingType, EntityValuedModelPart, Loadable, Restrictable, Discriminatable {
extends ManagedMappingType, EntityValuedModelPart, Loadable, Restrictable, Discriminable {
/**
* The entity name.