Package org.hibernate.persister.internal
Class StandardPersisterClassResolver
- java.lang.Object
-
- org.hibernate.persister.internal.StandardPersisterClassResolver
-
- All Implemented Interfaces:
Serializable
,PersisterClassResolver
,Service
public class StandardPersisterClassResolver extends Object implements PersisterClassResolver
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StandardPersisterClassResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends CollectionPersister>
getCollectionPersisterClass(Collection metadata)
Returns the collection persister class for a given collection role or null if the collection persister class should be the default.Class<? extends EntityPersister>
getEntityPersisterClass(PersistentClass model)
Returns the entity persister class for a given entityName or null if the entity persister class should be the default.Class<? extends EntityPersister>
joinedSubclassEntityPersister()
Class<? extends EntityPersister>
singleTableEntityPersister()
Class<? extends EntityPersister>
unionSubclassEntityPersister()
-
-
-
Method Detail
-
getEntityPersisterClass
public Class<? extends EntityPersister> getEntityPersisterClass(PersistentClass model)
Description copied from interface:PersisterClassResolver
Returns the entity persister class for a given entityName or null if the entity persister class should be the default.- Specified by:
getEntityPersisterClass
in interfacePersisterClassResolver
- Parameters:
model
- The entity metadata- Returns:
- The entity persister class to use
-
singleTableEntityPersister
public Class<? extends EntityPersister> singleTableEntityPersister()
-
joinedSubclassEntityPersister
public Class<? extends EntityPersister> joinedSubclassEntityPersister()
-
unionSubclassEntityPersister
public Class<? extends EntityPersister> unionSubclassEntityPersister()
-
getCollectionPersisterClass
public Class<? extends CollectionPersister> getCollectionPersisterClass(Collection metadata)
Description copied from interface:PersisterClassResolver
Returns the collection persister class for a given collection role or null if the collection persister class should be the default.- Specified by:
getCollectionPersisterClass
in interfacePersisterClassResolver
- Parameters:
metadata
- The collection metadata- Returns:
- The collection persister class to use
-
-