Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.jpa.internal.metamodel | |
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
Modifier and Type | Method and Description |
---|---|
MappedSuperclass |
Configuration.MappingsImpl.getMappedSuperclass(Class type) |
MappedSuperclass |
Mappings.getMappedSuperclass(Class type)
Get a MappedSuperclass or null if not mapped
|
static MappedSuperclass |
BinderHelper.getMappedSuperclassOrNull(org.hibernate.annotations.common.reflection.XClass declaringClass,
Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
Mappings mappings) |
Modifier and Type | Method and Description |
---|---|
Iterator<MappedSuperclass> |
Configuration.getMappedSuperclassMappings()
Iterate the mapped super class mappings
EXPERIMENTAL Consider this API as PRIVATE
|
Set<MappedSuperclass> |
Configuration.getMappedSuperclassMappingsCopy()
Get a copy of all known MappedSuperclasses
EXPERIMENTAL Consider this API as PRIVATE
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.MappingsImpl.addMappedSuperclass(Class type,
MappedSuperclass mappedSuperclass) |
void |
Mappings.addMappedSuperclass(Class type,
MappedSuperclass mappedSuperclass)
add a new MappedSuperclass
This should not be called if the MappedSuperclass already exists
(it would be erased)
|
Modifier and Type | Method and Description |
---|---|
static MetamodelImpl |
MetamodelImpl.buildMetamodel(Iterator<PersistentClass> persistentClasses,
Set<MappedSuperclass> mappedSuperclasses,
SessionFactoryImplementor sessionFactory,
boolean ignoreUnsupported)
Build the metamodel using the information from the collection of Hibernate
PersistentClass models as well as the Hibernate SessionFactory . |
Constructor and Description |
---|
MappedSuperclassTypeImpl(Class<X> javaType,
MappedSuperclass mappedSuperclass,
AbstractIdentifiableType<? super X> superType) |
Modifier and Type | Method and Description |
---|---|
MappedSuperclass |
PersistentClass.getSuperMappedSuperclass() |
MappedSuperclass |
MappedSuperclass.getSuperMappedSuperclass()
Returns the first superclass marked as @MappedSuperclass or null if:
- none exists
- or the first persistent superclass found is an @Entity
|
Modifier and Type | Method and Description |
---|---|
void |
PersistentClass.setSuperMappedSuperclass(MappedSuperclass superMappedSuperclass) |
Constructor and Description |
---|
MappedSuperclass(MappedSuperclass superMappedSuperclass,
PersistentClass superPersistentClass) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.