public class StandardPersisterClassResolver extends Object implements PersisterClassResolver
Constructor and Description |
---|
StandardPersisterClassResolver() |
Modifier and Type | Method and 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 metadata)
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() |
public Class<? extends EntityPersister> getEntityPersisterClass(PersistentClass metadata)
PersisterClassResolver
getEntityPersisterClass
in interface PersisterClassResolver
metadata
- The entity metadatapublic Class<? extends EntityPersister> singleTableEntityPersister()
public Class<? extends EntityPersister> joinedSubclassEntityPersister()
public Class<? extends EntityPersister> unionSubclassEntityPersister()
public Class<? extends CollectionPersister> getCollectionPersisterClass(Collection metadata)
PersisterClassResolver
getCollectionPersisterClass
in interface PersisterClassResolver
metadata
- The collection metadataCopyright © 2021 JBoss by Red Hat. All rights reserved.