Top Description Fields Constructors Methods
org.hibernate.metamodel.internal

public abstract Class AbstractDynamicMapInstantiator

extends Object
implements Instantiator
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.spi.Instantiator
Known Direct Subclasses
org.hibernate.metamodel.internal.EmbeddableInstantiatorDynamicMap, org.hibernate.metamodel.internal.EntityInstantiatorDynamicMap
Imports
java.util.HashMap, .Map, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.metamodel.spi.Instantiator

Base support for dynamic-map instantiators
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final String
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Map<K, V>
public String
public boolean
isInstance(Object object, SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.Instantiator.isInstance.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Performs and "instance of" check to see if the given object is an instance of managed structure
public boolean
isSameClass(Object object, SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.Instantiator.isSameClass.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
protected boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

roleNameback to summary
private final String roleName
TYPE_KEYback to summary
public static final String TYPE_KEY

Constructor Detail

AbstractDynamicMapInstantiatorback to summary
public AbstractDynamicMapInstantiator(String roleName)

Method Detail

generateDataMapback to summary
protected Map<K, V> generateDataMap()
Annotations
@SuppressWarnings:rawtypes
getRoleNameback to summary
public String getRoleName()
isInstanceback to summary
public boolean isInstance(Object object, SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.Instantiator.isInstance.

Doc from org.hibernate.metamodel.spi.Instantiator.isInstance.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Performs and "instance of" check to see if the given object is an instance of managed structure

Annotations
@Override
isSameClassback to summary
public boolean isSameClass(Object object, SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.Instantiator.isSameClass.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Annotations
@Override
isSameRoleback to summary
protected boolean isSameRole(String type)