public abstract class EntityModeToTuplizerMapping
extends java.lang.Object
implements java.io.Serializable
EntityMode
to Tuplizer
mappings.Constructor and Description |
---|
EntityModeToTuplizerMapping() |
EntityModeToTuplizerMapping(java.util.Map tuplizers) |
Modifier and Type | Method and Description |
---|---|
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(java.lang.Object object)
Given a supposed instance of an entity/component, guess its entity mode.
|
java.util.Iterator |
iterateTuplizers()
Allow iteration over all defined
Tuplizers . |
public EntityModeToTuplizerMapping()
public EntityModeToTuplizerMapping(java.util.Map tuplizers)
protected void addTuplizer(EntityMode entityMode, Tuplizer tuplizer)
public java.util.Iterator iterateTuplizers()
Tuplizers
.public EntityMode guessEntityMode(java.lang.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.Copyright © 2013. All Rights Reserved.