Package | Description |
---|---|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.metamodel |
NOTE: This package is currently unfinished and therefore considered experimental and unsupported.
|
org.hibernate.metamodel.binding | |
org.hibernate.metamodel.source | |
org.hibernate.metamodel.source.internal | |
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.persister.internal | |
org.hibernate.persister.spi | |
org.hibernate.tuple |
This package defines a runtime metamodel for entities at
the object level and abstracts the differences between
the various entity modes.
|
org.hibernate.tuple.entity |
Modifier and Type | Method and Description |
---|---|
static CacheDataDescriptionImpl |
CacheDataDescriptionImpl.decode(EntityBinding model)
Builds a CacheDataDescriptionImpl from the mapping model of an entity class (using the new metamodel code).
|
Modifier and Type | Method and Description |
---|---|
EntityBinding |
Metadata.getEntityBinding(String entityName) |
EntityBinding |
Metadata.getRootEntityBinding(String entityName)
Get the "root" entity binding
|
Modifier and Type | Method and Description |
---|---|
Iterable<EntityBinding> |
Metadata.getEntityBindings() |
Modifier and Type | Method and Description |
---|---|
EntityBinding |
SingularAssociationAttributeBinding.getReferencedEntityBinding() |
EntityBinding |
ManyToOneAttributeBinding.getReferencedEntityBinding() |
EntityBinding |
HierarchyDetails.getRootEntityBinding() |
EntityBinding |
EntityBinding.getSuperEntityBinding() |
EntityBinding |
ComponentAttributeBinding.seekEntityBinding() |
EntityBinding |
AttributeBindingContainer.seekEntityBinding()
Seeks out the entity binding that is the root of this component path.
|
EntityBinding |
EntityBinding.seekEntityBinding() |
Modifier and Type | Method and Description |
---|---|
Iterable<EntityBinding> |
EntityBinding.getDirectSubEntityBindings() |
Iterable<EntityBinding> |
EntityBinding.getPostOrderSubEntityBindingClosure()
Returns sub-EntityBinding objects in a special 'order', most derived subclasses
first.
|
Iterable<EntityBinding> |
EntityBinding.getPreOrderSubEntityBindingClosure()
Returns sub-EntityBinding ordered as a depth-first,
pre-order traversal (a subclass precedes its own subclasses).
|
Constructor and Description |
---|
EntityBinding(EntityBinding superEntityBinding)
Used to instantiate the EntityBinding for an entity that is a subclass (sub-entity) in an inheritance hierarchy
|
EntityIdentifier(EntityBinding entityBinding)
Create an identifier
|
HierarchyDetails(EntityBinding rootEntityBinding,
InheritanceType inheritanceType,
EntityMode entityMode) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataImplementor.addEntity(EntityBinding entityBinding) |
Modifier and Type | Method and Description |
---|---|
EntityBinding |
MetadataImpl.getEntityBinding(String entityName) |
EntityBinding |
MetadataImpl.getRootEntityBinding(String entityName) |
Modifier and Type | Method and Description |
---|---|
Iterable<EntityBinding> |
MetadataImpl.getEntityBindings() |
Modifier and Type | Method and Description |
---|---|
void |
MetadataImpl.addEntity(EntityBinding entityBinding) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractEntityPersister.initSubclassPropertyAliasesMap(EntityBinding model)
Must be called by subclasses, at the end of their constructors
|
Constructor and Description |
---|
AbstractEntityPersister(EntityBinding entityBinding,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
SessionFactoryImplementor factory) |
JoinedSubclassEntityPersister(EntityBinding entityBinding,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
SessionFactoryImplementor factory,
Mapping mapping) |
SingleTableEntityPersister(EntityBinding entityBinding,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
SessionFactoryImplementor factory,
Mapping mapping) |
UnionSubclassEntityPersister(EntityBinding entityBinding,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
SessionFactoryImplementor factory,
Mapping mapping) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactoryImpl.createEntityPersister(EntityBinding metadata,
EntityRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg) |
Class<? extends EntityPersister> |
StandardPersisterClassResolver.getEntityPersisterClass(EntityBinding metadata) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactory.createEntityPersister(EntityBinding model,
EntityRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg)
Create an entity persister instance.
|
Class<? extends EntityPersister> |
PersisterClassResolver.getEntityPersisterClass(EntityBinding metadata)
Returns the entity persister class for a given entityName or null
if the entity persister class should be the default.
|
Modifier and Type | Method and Description |
---|---|
static IdentifierProperty |
PropertyFactory.buildIdentifierProperty(EntityBinding mappedEntity,
IdentifierGenerator generator)
Generates an IdentifierProperty representation of the for a given entity mapping.
|
Constructor and Description |
---|
DynamicMapInstantiator(EntityBinding mappingInfo) |
PojoInstantiator(EntityBinding entityBinding,
ReflectionOptimizer.InstantiationOptimizer optimizer) |
Modifier and Type | Method and Description |
---|---|
protected Instantiator |
PojoEntityTuplizer.buildInstantiator(EntityBinding entityBinding) |
protected abstract Instantiator |
AbstractEntityTuplizer.buildInstantiator(EntityBinding mappingInfo)
Build an appropriate Instantiator for the given mapped entity.
|
protected Instantiator |
DynamicMapEntityTuplizer.buildInstantiator(EntityBinding mappingInfo) |
protected ProxyFactory |
PojoEntityTuplizer.buildProxyFactory(EntityBinding entityBinding,
Getter idGetter,
Setter idSetter) |
protected abstract ProxyFactory |
AbstractEntityTuplizer.buildProxyFactory(EntityBinding mappingInfo,
Getter idGetter,
Setter idSetter)
Build an appropriate ProxyFactory for the given mapped entity.
|
protected ProxyFactory |
DynamicMapEntityTuplizer.buildProxyFactory(EntityBinding mappingInfo,
Getter idGetter,
Setter idSetter) |
protected ProxyFactory |
PojoEntityTuplizer.buildProxyFactoryInternal(EntityBinding entityBinding,
Getter idGetter,
Setter idSetter) |
EntityTuplizer |
EntityTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode,
EntityMetamodel metamodel,
EntityBinding entityBinding)
Construct am instance of the default tuplizer for the given entity-mode.
|
EntityTuplizer |
EntityTuplizerFactory.constructTuplizer(Class<? extends EntityTuplizer> tuplizerClass,
EntityMetamodel metamodel,
EntityBinding entityBinding)
Construct an instance of the given tuplizer class.
|
EntityTuplizer |
EntityTuplizerFactory.constructTuplizer(String tuplizerClassName,
EntityMetamodel metamodel,
EntityBinding entityBinding)
Construct an instance of the given tuplizer class.
|
Constructor and Description |
---|
AbstractEntityTuplizer(EntityMetamodel entityMetamodel,
EntityBinding mappingInfo)
Constructs a new AbstractEntityTuplizer instance.
|
EntityMetamodel(EntityBinding entityBinding,
AbstractEntityPersister persister,
SessionFactoryImplementor sessionFactory) |
PojoEntityTuplizer(EntityMetamodel entityMetamodel,
EntityBinding mappedEntity) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.