public class DynamicMapInstantiator extends Object implements Instantiator
| Constructor and Description |
|---|
DynamicMapInstantiator() |
DynamicMapInstantiator(PersistentClass mappingInfo) |
| Modifier and Type | Method and Description |
|---|---|
protected Map |
generateMap() |
Object |
instantiate()
Perform the requested instantiation.
|
Object |
instantiate(Serializable id)
Perform the requested entity instantiation.
|
boolean |
isInstance(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 String KEY
public DynamicMapInstantiator()
public DynamicMapInstantiator(PersistentClass mappingInfo)
public final Object instantiate(Serializable id)
InstantiatorPerform the requested entity instantiation. <p/> This form is never called for component instantiation, only entity instantiation.
instantiate in interface Instantiatorid - The id of the entity to be instantiated.public final Object instantiate()
InstantiatorPerform the requested instantiation.
instantiate in interface Instantiatorpublic final boolean isInstance(Object object)
InstantiatorPerforms check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
isInstance in interface Instantiatorobject - The object to be checked.protected Map generateMap()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.