|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersisterClassResolver
Given an entity or collection mapping, resolve the appropriate persister class to use.
The persister class is chosen according to the following rules:PersisterClassResolver
Method Summary | |
---|---|
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. |
Method Detail |
---|
Class<? extends EntityPersister> getEntityPersisterClass(PersistentClass metadata)
metadata
- The entity metadata
Class<? extends EntityPersister> getEntityPersisterClass(EntityBinding metadata)
metadata
- The entity metadata
Class<? extends CollectionPersister> getCollectionPersisterClass(Collection metadata)
metadata
- The collection metadata
Class<? extends CollectionPersister> getCollectionPersisterClass(PluralAttributeBinding metadata)
metadata
- The collection metadata
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |