EntityDomainType for a "polymorphic query" grouping.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final Set | |
| private final JavaType |
| Access | Constructor and Description |
|---|---|
| public | SqmPolymorphicRootDescriptor(JavaType<T> polymorphicJavaType, Set<EntityDomainType<? extends T>> implementors)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | addSubType(ManagedDomainType<? extends T> subType)
Implements org. |
| public SqmPath | createSqmPath(SqmPath<?> lhs, SqmPathSource<?> intermediatePathSource)
Implements org. |
| public PersistentAttribute | |
| public PersistentAttribute | |
| public PersistentAttribute | |
| public PersistentAttribute | |
| public PersistentAttribute | |
| public PluralPersistentAttribute | |
| public SingularPersistentAttribute | |
| public SingularPersistentAttribute | |
| public List | |
| public PluralPersistentAttribute | |
| public SingularPersistentAttribute | |
| public SqmPathSource | findSubPathSource(String name)
Implements org. SqmPathSource by name relative to this source.
|
| public PersistentAttribute | |
| public SingularPersistentAttribute | |
| public PersistentAttribute | getAttribute(String
the name of the represented attribute name)Implements org. |
| public Set | getAttributes()
Implements jakarta. |
| public Class | getBindableJavaType()
Implements org. |
| public Bindable. | getBindableType()
Implements jakarta. |
| public <E> CollectionAttribute | getCollection(String
the name of the represented attribute name, Class<E> the element type of the represented
attribute elementType)Implements jakarta. |
| public CollectionAttribute | getCollection(String
the name of the represented attribute name)Implements jakarta. |
| public PersistentAttribute | getDeclaredAttribute(String
the name of the represented attribute name)Implements org. |
| public Set | getDeclaredAttributes()
Implements jakarta. |
| public <E> CollectionAttribute | getDeclaredCollection(String
the name of the represented attribute name, Class<E> the element type of the represented
attribute elementType)Implements jakarta. |
| public CollectionAttribute | getDeclaredCollection(String
the name of the represented attribute name)Implements jakarta. |
| public <Y> SingularPersistentAttribute | getDeclaredId(Class<Y>
the type of the represented declared
id attribute type)Implements org. |
| public <E> ListAttribute | getDeclaredList(String
the name of the represented attribute name, Class<E> the element type of the represented
attribute elementType)Implements jakarta. |
| public ListAttribute | getDeclaredList(String
the name of the represented attribute name)Implements jakarta. |
| public <K, V> MapAttribute | getDeclaredMap(String
the name of the represented attribute name, Class<K> the key type of the represented attribute keyType, Class<V> the value type of the represented attribute valueType)Implements jakarta. |
| public MapAttribute | getDeclaredMap(String
the name of the represented attribute name)Implements jakarta. |
| public Set | getDeclaredPluralAttributes()
Implements jakarta. |
| public <E> SetAttribute | getDeclaredSet(String
the name of the represented attribute name, Class<E> the element type of the represented
attribute elementType)Implements jakarta. |
| public SetAttribute | getDeclaredSet(String
the name of the represented attribute name)Implements jakarta. |
| public <Y> SingularAttribute | getDeclaredSingularAttribute(String
the name of the represented attribute name, Class<Y> the type of the represented attribute type)Implements jakarta. |
| public SingularAttribute | getDeclaredSingularAttribute(String
the name of the represented attribute name)Implements jakarta. |
| public Set | getDeclaredSingularAttributes()
Implements jakarta. |
| public <Y> SingularPersistentAttribute | getDeclaredVersion(Class<Y>
the type of the represented declared version
attribute type)Implements org. |
| public JavaType | getExpressibleJavaType()
Implements org. |
| public String | |
| public <Y> SingularPersistentAttribute | getId(Class<Y>
the type of the represented id attribute type)Implements org. |
| public Set | getIdClassAttributes()
Implements org. |
| public SqmPathSource | |
| public SimpleDomainType | getIdType()
Implements org. |
| public Set | |
| public Class | getJavaType()
Implements jakarta. |
| public <E> ListAttribute | getList(String
the name of the represented attribute name, Class<E> the element type of the represented
attribute elementType)Implements jakarta. |
| public ListAttribute | getList(String
the name of the represented attribute name)Implements jakarta. |
| public <K, V> MapAttribute | getMap(String
the name of the represented attribute name, Class<K> the key type of the represented attribute keyType, Class<V> the value type of the represented attribute valueType)Implements jakarta. |
| public MapAttribute | getMap(String
the name of the represented attribute name)Implements jakarta. |
| public String | |
| public String | |
| public Type. | getPersistenceType()
Implements jakarta. |
| public Set | getPluralAttributes()
Implements jakarta. |
| public RepresentationMode | |
| public <E> SetAttribute | getSet(String
the name of the represented attribute name, Class<E> the element type of the represented
attribute elementType)Implements jakarta. |
| public SetAttribute | getSet(String
the name of the represented attribute name)Implements jakarta. |
| public <Y> SingularAttribute | getSingularAttribute(String
the name of the represented attribute name, Class<Y> the type of the represented attribute type)Implements jakarta. |
| public SingularAttribute | getSingularAttribute(String
the name of the represented attribute name)Implements jakarta. |
| public Set | getSingularAttributes()
Implements jakarta. |
| public DomainType | getSqmPathType()
Implements org. |
| public Collection | |
| public IdentifiableDomainType | getSupertype()
Implements org. |
| public ManagedDomainType | getSuperType()
Implements org. |
| public String | getTypeName()
Overrides default org. Implements org. |
| public <Y> SingularPersistentAttribute | getVersion(Class<Y>
the type of the represented version attribute type)Implements org. |
| public boolean | |
| public boolean | hasSingleIdAttribute()
Implements jakarta. |
| public boolean | hasVersionAttribute()
Implements jakarta. |
| private Map | inferCommonAttributes(Set<EntityDomainType<? extends T>> implementors)
The attributes of a "polymorphic" root are the attributes which are common to all subtypes of the root type. |
| private static boolean | |
| private PersistentAttribute | promote(PersistentAttribute<?, ?> attribute)
Here we pretend that an attribute belonging to all known subtypes is an attribute of this type. |
| public void | visitAttributes(Consumer<? super PersistentAttribute<? super T, ?>> action)
Implements org. |
| public void | visitDeclaredAttributes(Consumer<? super PersistentAttribute<T, ?>> action)
Implements org. |
| public void | visitIdClassAttributes(Consumer<SingularPersistentAttribute<? super T, ?>> action)
Implements org. |