Top Description Inners Fields Constructors Methods
org.hibernate.persister.entity

public final Class EntityNameUse

extends Object
Class Inheritance
Annotations
@Incubating
Imports
org.hibernate.Incubating

Describes the kind of entity name use.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Field Summary

Modifier and TypeField and Description
public static final EntityNameUse
public static final EntityNameUse
public static final EntityNameUse
private final EntityNameUse.UseKind
public static final EntityNameUse
public static final EntityNameUse
private final Boolean
public static final EntityNameUse

Constructor Summary

AccessConstructor and Description
private
EntityNameUse(EntityNameUse.UseKind kind, Boolean requiresRestriction)

Method Summary

Modifier and TypeMethod and Description
private static EntityNameUse
public EntityNameUse.UseKind
public boolean
public EntityNameUse
public EntityNameUse
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BASE_TREATback to summary
public static final EntityNameUse BASE_TREAT
EXPRESSIONback to summary
public static final EntityNameUse EXPRESSION
FILTERback to summary
public static final EntityNameUse FILTER
kindback to summary
private final EntityNameUse.UseKind kind
OPTIONAL_TREATback to summary
public static final EntityNameUse OPTIONAL_TREAT
PROJECTIONback to summary
public static final EntityNameUse PROJECTION
requiresRestrictionback to summary
private final Boolean requiresRestriction
TREATback to summary
public static final EntityNameUse TREAT

Constructor Detail

EntityNameUseback to summary
private EntityNameUse(EntityNameUse.UseKind kind, Boolean requiresRestriction)

Method Detail

getback to summary
private static EntityNameUse get(EntityNameUse.UseKind kind)
getKindback to summary
public EntityNameUse.UseKind getKind()
requiresRestrictionback to summary
public boolean requiresRestriction()
strongerback to summary
public EntityNameUse stronger(EntityNameUse other)
weakerback to summary
public EntityNameUse weaker(EntityNameUse other)
org.hibernate.persister.entity back to summary

public final Enum EntityNameUse.UseKind

extends Enum<EntityNameUse.UseKind>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final EntityNameUse.UseKind
EXPRESSION

An entity type is used through a path expression, but doesn't match the criteria for PROJECTION.

public static final EntityNameUse.UseKind
FILTER

An entity type is filtered for through a type restriction predicate i.e. type(alias) = Subtype.

public static final EntityNameUse.UseKind
PROJECTION

An entity type is used through a path that appears in the SELECT clause somehow.

public static final EntityNameUse.UseKind
TREAT

An entity type is used through a treat expression.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public EntityNameUse.UseKind
public static EntityNameUse.UseKind
public static EntityNameUse.UseKind[]
public EntityNameUse.UseKind
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EXPRESSIONback to summary
public static final EntityNameUse.UseKind EXPRESSION

An entity type is used through a path expression, but doesn't match the criteria for PROJECTION.

FILTERback to summary
public static final EntityNameUse.UseKind FILTER

An entity type is filtered for through a type restriction predicate i.e. type(alias) = Subtype.

PROJECTIONback to summary
public static final EntityNameUse.UseKind PROJECTION

An entity type is used through a path that appears in the SELECT clause somehow. This use kind is registered for top level select items or join fetches.

TREATback to summary
public static final EntityNameUse.UseKind TREAT

An entity type is used through a treat expression.

Constructor Detail

UseKindback to summary
private UseKind()

Method Detail

isStrongerThanback to summary
public boolean isStrongerThan(EntityNameUse.UseKind other)
isWeakerThanback to summary
public boolean isWeakerThan(EntityNameUse.UseKind other)
strongerback to summary
public EntityNameUse.UseKind stronger(EntityNameUse.UseKind other)
valueOfback to summary
public static EntityNameUse.UseKind valueOf(String name)
valuesback to summary
public static EntityNameUse.UseKind[] values()
weakerback to summary
public EntityNameUse.UseKind weaker(EntityNameUse.UseKind other)