|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.tuple.TuplizerLookup
Stores references to the tuplizers available for a "tuplizable thing" (i.e., an entity or component).
Method Summary | |
static TuplizerLookup |
create(Component component)
Generate a TuplizerLookup based on the given component mapping definition. |
static TuplizerLookup |
create(PersistentClass mappedEntity,
EntityMetamodel em)
Generate a TuplizerLookup based on the given entity mapping and metamodel definitions. |
Tuplizer |
getTuplizer(EntityMode entityMode)
Locate the contained tuplizer 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static TuplizerLookup create(PersistentClass mappedEntity, EntityMetamodel em)
mappedEntity
- The entity mapping definition.em
- The entity metamodel definition.
public static TuplizerLookup create(Component component)
component
- The component mapping definition.
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 client wants a tuplizer.
public Tuplizer getTuplizer(EntityMode entityMode)
entityMode
- The entity-mode for which the client 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 |