Top Inners Constructors Methods
org.hibernate.tuple

public final Class PropertyFactory

extends Object
Class Inheritance
Annotations
@Deprecated
forRemoval:true
Imports
org.hibernate.HibernateException, org.hibernate.boot.spi.MetadataImplementor, .SessionFactoryOptions, org.hibernate.bytecode.enhance.spi.interceptor.EnhancementHelper, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.generator.Generator, org.hibernate.mapping.PersistentClass, .Property, org.hibernate.metamodel.spi.RuntimeModelCreationContext, org.hibernate.persister.entity.EntityPersister, org.hibernate.tuple.entity.EntityBasedAssociationAttribute, .EntityBasedBasicAttribute, .EntityBasedCompositionAttribute, .VersionProperty, org.hibernate.type.AssociationType, .CompositeType, .Type

Deprecated

for removal.

No direct replacement

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static NonIdentifierAttribute

Returns:

The appropriate NonIdentifierProperty definition.
buildEntityBasedAttribute
(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property
The mapped property.
property
,
boolean
Is property lazy loading currently available.
lazyAvailable
,
RuntimeModelCreationContext creationContext)

Deprecated as a consequence of SessionFactoryImplementor, RuntimeModelCreationContext and NonIdentifierAttribute being deprecated.
Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entity
public static IdentifierProperty

Returns:

The appropriate IdentifierProperty definition.
buildIdentifierAttribute
(PersistentClass
The mapping definition of the entity.
mappedEntity
,
Generator
The identifier value generator to use for this identifier.
generator
)

Deprecated as a consequence of IdentifierProperty being deprecated.
Generates the attribute representation of the identifier for a given entity mapping.
public static VersionProperty

Returns:

The appropriate VersionProperty definition.
buildVersionProperty
(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property
The version mapping Property.
property
,
boolean
Is property lazy loading currently available.
lazyAvailable
)

Deprecated as a consequence of SessionFactoryImplementor and VersionProperty being deprecated.
Generates a VersionProperty representation for an entity mapping given its version mapping Property.
private static PropertyFactory.NonIdentifierAttributeNature
decode(Type type)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PropertyFactoryback to summary
private PropertyFactory()

Method Detail

buildEntityBasedAttributeback to summary
public static NonIdentifierAttribute buildEntityBasedAttribute(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable, RuntimeModelCreationContext creationContext)

Deprecated

as a consequence of SessionFactoryImplementor, RuntimeModelCreationContext and NonIdentifierAttribute being deprecated. See corresponding docs for further information.

Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entity

Parameters
property:Property

The mapped property.

lazyAvailable:boolean

Is property lazy loading currently available.

Returns:NonIdentifierAttribute

The appropriate NonIdentifierProperty definition.

buildIdentifierAttributeback to summary
public static IdentifierProperty buildIdentifierAttribute(PersistentClass mappedEntity, Generator generator)

Deprecated

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

Generates the attribute representation of the identifier for a given entity mapping.

Parameters
mappedEntity:PersistentClass

The mapping definition of the entity.

generator:Generator

The identifier value generator to use for this identifier.

Returns:IdentifierProperty

The appropriate IdentifierProperty definition.

buildVersionPropertyback to summary
public static VersionProperty buildVersionProperty(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)

Deprecated

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

Generates a VersionProperty representation for an entity mapping given its version mapping Property.

Parameters
property:Property

The version mapping Property.

lazyAvailable:boolean

Is property lazy loading currently available.

Returns:VersionProperty

The appropriate VersionProperty definition.

decodeback to summary
private static PropertyFactory.NonIdentifierAttributeNature decode(Type type)
org.hibernate.tuple back to summary

public final Enum PropertyFactory.NonIdentifierAttributeNature

extends Enum<PropertyFactory.NonIdentifierAttributeNature>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final PropertyFactory.NonIdentifierAttributeNature
public static final PropertyFactory.NonIdentifierAttributeNature
public static final PropertyFactory.NonIdentifierAttributeNature
public static final PropertyFactory.NonIdentifierAttributeNature
public static final PropertyFactory.NonIdentifierAttributeNature

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PropertyFactory.NonIdentifierAttributeNature
public static PropertyFactory.NonIdentifierAttributeNature[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ANYback to summary
public static final PropertyFactory.NonIdentifierAttributeNature ANY
BASICback to summary
public static final PropertyFactory.NonIdentifierAttributeNature BASIC
COLLECTIONback to summary
public static final PropertyFactory.NonIdentifierAttributeNature COLLECTION
COMPOSITEback to summary
public static final PropertyFactory.NonIdentifierAttributeNature COMPOSITE
ENTITYback to summary
public static final PropertyFactory.NonIdentifierAttributeNature ENTITY

Constructor Detail

NonIdentifierAttributeNatureback to summary
private NonIdentifierAttributeNature()

Method Detail

valueOfback to summary
public static PropertyFactory.NonIdentifierAttributeNature valueOf(String name)
valuesback to summary
public static PropertyFactory.NonIdentifierAttributeNature[] values()