| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.tuple.EntityModeToTuplizerMapping
public abstract class EntityModeToTuplizerMapping
Centralizes handling of EntityMode to Tuplizer mappings.
| Constructor Summary | |
|---|---|
| EntityModeToTuplizerMapping() | |
| EntityModeToTuplizerMapping(Map tuplizers) | |
| Method Summary | |
|---|---|
| protected  void | addTuplizer(EntityMode entityMode,
            Tuplizer tuplizer) | 
|  Tuplizer | getTuplizer(EntityMode entityMode)Locate the tuplizer contained within this mapping which is responsible for the given entity-mode. | 
|  Tuplizer | getTuplizerOrNull(EntityMode entityMode)Locate the contained tuplizer responsible for the given entity-mode. | 
|  EntityMode | guessEntityMode(Object object)Given a supposed instance of an entity/component, guess its entity mode. | 
|  Iterator | iterateTuplizers()Allow iteration over all defined Tuplizers. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EntityModeToTuplizerMapping()
public EntityModeToTuplizerMapping(Map tuplizers)
| Method Detail | 
|---|
protected void addTuplizer(EntityMode entityMode,
                           Tuplizer tuplizer)
public Iterator iterateTuplizers()
Tuplizers.
public EntityMode guessEntityMode(Object object)
object - The supposed instance of the entity/component.
public Tuplizer getTuplizerOrNull(EntityMode entityMode)
entityMode - The entity-mode for which the caller wants a tuplizer.
public Tuplizer getTuplizer(EntityMode entityMode)
entityMode - The entity-mode for which the caller wants a tuplizer.
HibernateException - Unable to locate the requested tuplizer.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||