## Uses of Class
org.hibernate.mapping.PersistentClass

Packages that use PersistentClass
org.hibernate.cache.internal
org.hibernate.cfg: This package defines APIs for configuring Hibernate, and classes for building the Hibernate configuration-time metamodel.
org.hibernate.cfg.annotations
org.hibernate.ejb
org.hibernate.ejb.metamodel
org.hibernate.envers.configuration
org.hibernate.envers.configuration.metadata
org.hibernate.envers.configuration.metadata.reader
org.hibernate.mapping: This package defines the Hibernate configuration-time metamodel.
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

Uses of PersistentClass in org.hibernate.cache.internal

Methods in org.hibernate.cache.internal with parameters of type PersistentClass
`static CacheDataDescriptionImpl` `CacheDataDescriptionImpl.decode(PersistentClass model)`

Uses of PersistentClass in org.hibernate.cfg

Fields in org.hibernate.cfg with type parameters of type PersistentClass
`protected Map<String,PersistentClass>` `Configuration.classes`

Methods in org.hibernate.cfg that return PersistentClass
`PersistentClass` `Configuration.MappingsImpl.getClass(String entityName)`
`PersistentClass` `Mappings.getClass(String entityName)` Retrieves the entity mapping metadata for the given entity name.
`PersistentClass` `Configuration.getClassMapping(String entityName)` Get the mapping for a particular entity
`PersistentClass` `ComponentPropertyHolder.getPersistentClass()`
`PersistentClass` `ClassPropertyHolder.getPersistentClass()`
`PersistentClass` `PropertyHolder.getPersistentClass()`
`PersistentClass` `CollectionPropertyHolder.getPersistentClass()`
`PersistentClass` `Configuration.MappingsImpl.locatePersistentClassByEntityName(String entityName)`
`PersistentClass` `Mappings.locatePersistentClassByEntityName(String entityName)` Retrieves the entity mapping metadata for the given entity name, potentially accounting for imports.

Methods in org.hibernate.cfg that return types with arguments of type PersistentClass
`Iterator<PersistentClass>` `Configuration.getClassMappings()` Iterate the entity mappings
`Iterator<PersistentClass>` `Configuration.MappingsImpl.iterateClasses()`
`Iterator<PersistentClass>` `Mappings.iterateClasses()` Retrieves an iterator over the entity metadata present in this repository.

Methods in org.hibernate.cfg with parameters of type PersistentClass
`void` `Configuration.MappingsImpl.addClass(PersistentClass persistentClass)`
`void` `Mappings.addClass(PersistentClass persistentClass)` Add entity mapping metadata.
`void` `Ejb3JoinColumn.addDefaultJoinColumnName(PersistentClass referencedEntity, String logicalReferencedColumn)`
`void` `Configuration.MappingsImpl.addJoins(PersistentClass persistentClass, Map<String,Join> joins)`
`void` `Mappings.addJoins(PersistentClass persistentClass, Map<String,Join> joins)` Add join metadata for a persistent entity.
`static void` `HbmBinder.bindClass(org.dom4j.Element node, PersistentClass persistentClass, Mappings mappings, Map inheritedMetas)`
`static void` `HbmBinder.bindCompositeId(org.dom4j.Element node, Component component, PersistentClass persistentClass, String propertyName, Mappings mappings, Map inheritedMetas)`
`static PropertyHolder` `PropertyHolderBuilder.buildPropertyHolder(PersistentClass persistentClass, Map<String,Join> joins, Mappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)` must only be used on second level phases (<join> has to be settled already)
`static PropertyHolder` `PropertyHolderBuilder.buildPropertyHolder(org.hibernate.annotations.common.reflection.XClass clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, Mappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)`
`static int` `Ejb3JoinColumn.checkReferencedColumnsType(Ejb3JoinColumn[] columns, PersistentClass referencedEntity, Mappings mappings)`
`void` `Ejb3JoinColumn.copyReferencedStructureAndCreateDefaultJoinColumns(PersistentClass referencedEntity, Iterator columnIterator, SimpleValue value)`
`protected static void` `HbmBinder.createClassProperties(org.dom4j.Element node, PersistentClass persistentClass, Mappings mappings, Map inheritedMetas)`
`protected static void` `HbmBinder.createClassProperties(org.dom4j.Element node, PersistentClass persistentClass, Mappings mappings, Map inheritedMetas, UniqueKey uniqueKey, boolean mutable, boolean nullable, boolean naturalId)`
`static void` `BinderHelper.createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, Mappings mappings)`
`static Object` `BinderHelper.findColumnOwner(PersistentClass persistentClass, String columnName, Mappings mappings)` Find the column owner (ie PersistentClass or Join) of columnName.
`static Property` `BinderHelper.findPropertyByName(PersistentClass associatedClass, String propertyName)` Retrieve the property by path in a recursive way, including IndetifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returned
`void` `Ejb3JoinColumn.linkValueUsingDefaultColumnNaming(Column referencedColumn, PersistentClass referencedEntity, SimpleValue value)`
`void` `Ejb3JoinColumn.setPersistentClass(PersistentClass persistentClass, Map<String,Join> joins, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)` Override persistent class on oneToMany Cases for late settings Must only be used on second level pass binding

Constructors in org.hibernate.cfg with parameters of type PersistentClass
`ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass clazzToProcess, EntityBinder entityBinder, Mappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)`
`ClassPropertyHolder(PersistentClass persistentClass, org.hibernate.annotations.common.reflection.XClass clazzToProcess, Map<String,Join> joins, Mappings mappings, Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)`

Uses of PersistentClass in org.hibernate.cfg.annotations

Methods in org.hibernate.cfg.annotations with parameters of type PersistentClass
`static void` `TableBinder.bindFk(PersistentClass referencedEntity, PersistentClass destinationEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, Mappings mappings)`
`static void` `CollectionBinder.bindManytoManyInverseFk(PersistentClass referencedEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, Mappings mappings)` bind the inverse FK of a ManyToMany If we are in a mappedBy case, read the columns from the associated collection element Otherwise delegates to the usual algorithm
`protected abstract Collection` `CollectionBinder.createCollection(PersistentClass persistentClass)`
`protected Collection` `IdBagBinder.createCollection(PersistentClass persistentClass)`
`protected Collection` `MapBinder.createCollection(PersistentClass persistentClass)`
`protected Collection` `SetBinder.createCollection(PersistentClass persistentClass)`
`protected Collection` `ListBinder.createCollection(PersistentClass persistentClass)`
`protected Collection` `BagBinder.createCollection(PersistentClass persistentClass)`
`protected Collection` `PrimitiveArrayBinder.createCollection(PersistentClass persistentClass)`
`protected Collection` `ArrayBinder.createCollection(PersistentClass persistentClass)`
`protected Value` `MapBinder.createFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, Mappings mappings)`
`static void` `TableBinder.linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity, Iterator columnIterator, Ejb3JoinColumn[] columns, SimpleValue value)`

Constructors in org.hibernate.cfg.annotations with parameters of type PersistentClass
`EntityBinder(Entity ejb3Ann, Entity hibAnn, org.hibernate.annotations.common.reflection.XClass annotatedClass, PersistentClass persistentClass, Mappings mappings)`

Uses of PersistentClass in org.hibernate.ejb

Methods in org.hibernate.ejb that return PersistentClass
`PersistentClass` `Ejb3Configuration.getClassMapping(String persistentClass)` Deprecated.

Uses of PersistentClass in org.hibernate.ejb.metamodel

Method parameters in org.hibernate.ejb.metamodel with type arguments of type PersistentClass
`static MetamodelImpl` `MetamodelImpl.buildMetamodel(Iterator<PersistentClass> persistentClasses, SessionFactoryImplementor sessionFactory)` Deprecated. use `MetamodelImpl.buildMetamodel(java.util.Iterator,org.hibernate.engine.spi.SessionFactoryImplementor,boolean)` instead
`static MetamodelImpl` `MetamodelImpl.buildMetamodel(Iterator<PersistentClass> persistentClasses, SessionFactoryImplementor sessionFactory, boolean ignoreUnsupported)` Build the metamodel using the information from the collection of Hibernate `PersistentClass` models as well as the Hibernate `SessionFactory`.

Uses of PersistentClass in org.hibernate.envers.configuration

Methods in org.hibernate.envers.configuration that return PersistentClass
`PersistentClass` `PersistentClassGraphDefiner.getValue(String entityName)`

Methods in org.hibernate.envers.configuration that return types with arguments of type PersistentClass
`Collection<Map.Entry<PersistentClass,ClassAuditingData>>` `ClassesAuditingData.getAllClassAuditedData()`
`List<PersistentClass>` `PersistentClassGraphDefiner.getNeighbours(PersistentClass pc)`
`List<PersistentClass>` `PersistentClassGraphDefiner.getValues()`

Methods in org.hibernate.envers.configuration with parameters of type PersistentClass
`void` `ClassesAuditingData.addClassAuditingData(PersistentClass pc, ClassAuditingData cad)` Stores information about auditing meta-data for the given class.
`List<PersistentClass>` `PersistentClassGraphDefiner.getNeighbours(PersistentClass pc)`
`String` `PersistentClassGraphDefiner.getRepresentation(PersistentClass pc)`

Uses of PersistentClass in org.hibernate.envers.configuration.metadata

Methods in org.hibernate.envers.configuration.metadata with parameters of type PersistentClass
`void` `AuditMetadataGenerator.generateFirstPass(PersistentClass pc, ClassAuditingData auditingData, EntityXmlMappingData xmlMappingData, boolean isAudited)`
`void` `AuditMetadataGenerator.generateSecondPass(PersistentClass pc, ClassAuditingData auditingData, EntityXmlMappingData xmlMappingData)`
`static InheritanceType` `InheritanceType.get(PersistentClass pc)`

Uses of PersistentClass in org.hibernate.envers.configuration.metadata.reader

Constructors in org.hibernate.envers.configuration.metadata.reader with parameters of type PersistentClass
`AnnotationsMetadataReader(GlobalConfiguration globalCfg, org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager, PersistentClass pc)`

Uses of PersistentClass in org.hibernate.mapping

Subclasses of PersistentClass in org.hibernate.mapping
`class` `JoinedSubclass` A subclass in a table-per-subclass mapping
`class` `RootClass` The root class of an inheritance hierarchy
`class` `SingleTableSubclass`
`class` `Subclass` A sublass in a table-per-class-hierarchy mapping
`class` `UnionSubclass` A subclass in a table-per-concrete-class mapping

Methods in org.hibernate.mapping that return PersistentClass
`PersistentClass` `OneToMany.getAssociatedClass()`
`PersistentClass` `Collection.getOwner()`
`PersistentClass` `Component.getOwner()`
`PersistentClass` `Property.getPersistentClass()`
`PersistentClass` `Join.getPersistentClass()`
`PersistentClass` `RootClass.getSuperclass()`
`PersistentClass` `Subclass.getSuperclass()`
`abstract PersistentClass` `PersistentClass.getSuperclass()`
`PersistentClass` `MappedSuperclass.getSuperPersistentClass()` Returns the PersistentClass of the first superclass marked as @Entity or null if none exists

Methods in org.hibernate.mapping with parameters of type PersistentClass
`void` `OneToMany.setAssociatedClass(PersistentClass associatedClass)` Associated entity on the many side
`void` `Collection.setOwner(PersistentClass owner)` Deprecated. Inject the owner into constructor.
`void` `Component.setOwner(PersistentClass owner)`
`void` `Property.setPersistentClass(PersistentClass persistentClass)`
`void` `Join.setPersistentClass(PersistentClass persistentClass)`
`void` `Subclass.setSuperclass(PersistentClass superclass)`

Constructors in org.hibernate.mapping with parameters of type PersistentClass
`Array(Mappings mappings, PersistentClass owner)`
`Bag(Mappings mappings, PersistentClass owner)`
`Collection(Mappings mappings, PersistentClass owner)`
`Component(Mappings mappings, PersistentClass owner)`
`IdentifierBag(Mappings mappings, PersistentClass owner)`
`IdentifierCollection(Mappings mappings, PersistentClass owner)`
`IndexedCollection(Mappings mappings, PersistentClass owner)`
`JoinedSubclass(PersistentClass superclass)`
`List(Mappings mappings, PersistentClass owner)`
`Map(Mappings mappings, PersistentClass owner)`
`MappedSuperclass(MappedSuperclass superMappedSuperclass, PersistentClass superPersistentClass)`
`OneToMany(Mappings mappings, PersistentClass owner)`
`OneToOne(Mappings mappings, Table table, PersistentClass owner)`
`PrimitiveArray(Mappings mappings, PersistentClass owner)`
`Set(Mappings mappings, PersistentClass owner)`
`SingleTableSubclass(PersistentClass superclass)`
`Subclass(PersistentClass superclass)`
`UnionSubclass(PersistentClass superclass)`

Uses of PersistentClass in org.hibernate.persister.entity

Methods in org.hibernate.persister.entity with parameters of type PersistentClass
`protected String` `UnionSubclassEntityPersister.generateSubquery(PersistentClass model, Mapping mapping)`
`protected void` `AbstractEntityPersister.initSubclassPropertyAliasesMap(PersistentClass model)` Must be called by subclasses, at the end of their constructors

Constructors in org.hibernate.persister.entity with parameters of type PersistentClass
`AbstractEntityPersister(PersistentClass persistentClass, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy, SessionFactoryImplementor factory)`
`JoinedSubclassEntityPersister(PersistentClass persistentClass, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy, SessionFactoryImplementor factory, Mapping mapping)`
`SingleTableEntityPersister(PersistentClass persistentClass, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy, SessionFactoryImplementor factory, Mapping mapping)`
`UnionSubclassEntityPersister(PersistentClass persistentClass, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy, SessionFactoryImplementor factory, Mapping mapping)`

Uses of PersistentClass in org.hibernate.persister.internal

Methods in org.hibernate.persister.internal with parameters of type PersistentClass
`EntityPersister` `PersisterFactoryImpl.createEntityPersister(PersistentClass metadata, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy, SessionFactoryImplementor factory, Mapping cfg)`
`Class<? extends EntityPersister>` `StandardPersisterClassResolver.getEntityPersisterClass(PersistentClass metadata)`

Uses of PersistentClass in org.hibernate.persister.spi

Methods in org.hibernate.persister.spi with parameters of type PersistentClass
`EntityPersister` `PersisterFactory.createEntityPersister(PersistentClass model, EntityRegionAccessStrategy cacheAccessStrategy, NaturalIdRegionAccessStrategy naturalIdAccessStrategy, SessionFactoryImplementor factory, Mapping cfg)` Create an entity persister instance.
`Class<? extends EntityPersister>` `PersisterClassResolver.getEntityPersisterClass(PersistentClass metadata)` Returns the entity persister class for a given entityName or null if the entity persister class should be the default.

Uses of PersistentClass in org.hibernate.tuple

Methods in org.hibernate.tuple with parameters of type PersistentClass
`static IdentifierProperty` `PropertyFactory.buildIdentifierProperty(PersistentClass mappedEntity, IdentifierGenerator generator)` Generates an IdentifierProperty representation of the for a given entity mapping.

Constructors in org.hibernate.tuple with parameters of type PersistentClass
`Dom4jInstantiator(PersistentClass mappingInfo)`
`DynamicMapInstantiator(PersistentClass mappingInfo)`
`PojoInstantiator(PersistentClass persistentClass, ReflectionOptimizer.InstantiationOptimizer optimizer)`

Uses of PersistentClass in org.hibernate.tuple.entity

Methods in org.hibernate.tuple.entity with parameters of type PersistentClass
`protected Instantiator` `DynamicMapEntityTuplizer.buildInstantiator(PersistentClass mappingInfo)` Build an appropriate Instantiator for the given mapped entity.
`protected Instantiator` `PojoEntityTuplizer.buildInstantiator(PersistentClass persistentClass)` Build an appropriate Instantiator for the given mapped entity.
`protected abstract Instantiator` `AbstractEntityTuplizer.buildInstantiator(PersistentClass mappingInfo)` Build an appropriate Instantiator for the given mapped entity.
`protected Getter` `DynamicMapEntityTuplizer.buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)` Build an appropriate Getter for the given property.
`protected Getter` `PojoEntityTuplizer.buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)` Build an appropriate Getter for the given property.
`protected abstract Getter` `AbstractEntityTuplizer.buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)` Build an appropriate Getter for the given property.
`protected Setter` `DynamicMapEntityTuplizer.buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)` Build an appropriate Setter for the given property.
`protected Setter` `PojoEntityTuplizer.buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)` Build an appropriate Setter for the given property.
`protected abstract Setter` `AbstractEntityTuplizer.buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)` Build an appropriate Setter for the given property.
`protected ProxyFactory` `DynamicMapEntityTuplizer.buildProxyFactory(PersistentClass mappingInfo, Getter idGetter, Setter idSetter)` Build an appropriate ProxyFactory for the given mapped entity.
`protected ProxyFactory` `PojoEntityTuplizer.buildProxyFactory(PersistentClass persistentClass, Getter idGetter, Setter idSetter)` Build an appropriate ProxyFactory for the given mapped entity.
`protected abstract ProxyFactory` `AbstractEntityTuplizer.buildProxyFactory(PersistentClass mappingInfo, Getter idGetter, Setter idSetter)` Build an appropriate ProxyFactory for the given mapped entity.
`protected ProxyFactory` `PojoEntityTuplizer.buildProxyFactoryInternal(PersistentClass persistentClass, Getter idGetter, Setter idSetter)`
`EntityTuplizer` `EntityTuplizerFactory.constructDefaultTuplizer(EntityMode entityMode, EntityMetamodel metamodel, PersistentClass persistentClass)` Construct am instance of the default tuplizer for the given entity-mode.
`EntityTuplizer` `EntityTuplizerFactory.constructTuplizer(Class<? extends EntityTuplizer> tuplizerClass, EntityMetamodel metamodel, PersistentClass persistentClass)` Construct an instance of the given tuplizer class.
`EntityTuplizer` `EntityTuplizerFactory.constructTuplizer(String tuplizerClassName, EntityMetamodel metamodel, PersistentClass persistentClass)` Construct an instance of the given tuplizer class.

Constructors in org.hibernate.tuple.entity with parameters of type PersistentClass
`AbstractEntityTuplizer(EntityMetamodel entityMetamodel, PersistentClass mappingInfo)` Constructs a new AbstractEntityTuplizer instance.
`EntityMetamodel(PersistentClass persistentClass, SessionFactoryImplementor sessionFactory)`
`PojoEntityTuplizer(EntityMetamodel entityMetamodel, PersistentClass mappedEntity)`

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.