public interface PersisterClassResolver extends Service
PersisterClassResolver
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 CollectionPersister> |
getCollectionPersisterClass(PluralAttributeBinding 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(EntityBinding metadata)
Returns the entity persister class for a given entityName or null
if the entity 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> getEntityPersisterClass(PersistentClass metadata)
metadata
- The entity metadataClass<? extends EntityPersister> getEntityPersisterClass(EntityBinding metadata)
metadata
- The entity metadataClass<? extends CollectionPersister> getCollectionPersisterClass(Collection metadata)
metadata
- The collection metadataClass<? extends CollectionPersister> getCollectionPersisterClass(PluralAttributeBinding metadata)
metadata
- The collection metadataCopyright © 2012 JBoss by Red Hat. All Rights Reserved.