public class DynamicMapInstantiator extends java.lang.Object implements Instantiator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY |
Constructor and Description |
---|
DynamicMapInstantiator() |
DynamicMapInstantiator(PersistentClass mappingInfo) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map |
generateMap() |
java.lang.Object |
instantiate()
Perform the requested instantiation.
|
java.lang.Object |
instantiate(java.io.Serializable id)
Perform the requested entity instantiation.
|
boolean |
isInstance(java.lang.Object object)
Performs check to see if the given object is an instance of the entity
or component which this Instantiator instantiates.
|
public static final java.lang.String KEY
public DynamicMapInstantiator()
public DynamicMapInstantiator(PersistentClass mappingInfo)
public final java.lang.Object instantiate(java.io.Serializable id)
Instantiator
instantiate
in interface Instantiator
id
- The id of the entity to be instantiated.public final java.lang.Object instantiate()
Instantiator
instantiate
in interface Instantiator
public final boolean isInstance(java.lang.Object object)
Instantiator
isInstance
in interface Instantiator
object
- The object to be checked.protected java.util.Map generateMap()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.