Package org.hibernate.tuple
Class PropertyFactory
- java.lang.Object
- org.hibernate.tuple.PropertyFactory
@Deprecated(forRemoval=true)public final classPropertyFactoryextendsObject
Deprecated, for removal: This API element is subject to removal in a future version.No direct replacement
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyFactory.NonIdentifierAttributeNatureDeprecated, for removal: This API element is subject to removal in a future version.
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description staticNonIdentifierAttributebuildEntityBasedAttribute(EntityPersister persister,SessionFactoryImplementor sessionFactory, int attributeNumber,Property property, boolean lazyAvailable,RuntimeModelCreationContext creationContext)Deprecated, for removal: This API element is subject to removal in a future version.Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entitystaticIdentifierPropertybuildIdentifierAttribute(PersistentClass mappedEntity,Generator generator)Deprecated, for removal: This API element is subject to removal in a future version.Generates the attribute representation of the identifier for a given entity mapping.staticVersionPropertybuildVersionProperty(EntityPersister persister,SessionFactoryImplementor sessionFactory, int attributeNumber,Property property, boolean lazyAvailable)Deprecated, for removal: This API element is subject to removal in a future version.Generates a VersionProperty representation for an entity mapping given its version mapping Property.
Method Detail
buildIdentifierAttribute
public static IdentifierProperty buildIdentifierAttribute(PersistentClass mappedEntity,Generator generator)
Deprecated, for removal: This API element is subject to removal in a future version.Generates the attribute representation of the identifier for a given entity mapping.- Parameters:
mappedEntity- The mapping definition of the entity.generator- The identifier value generator to use for this identifier.- Returns:
- The appropriate IdentifierProperty definition.
buildVersionProperty
public static VersionProperty buildVersionProperty(EntityPersister persister,SessionFactoryImplementor sessionFactory, int attributeNumber,Property property, boolean lazyAvailable)
Deprecated, for removal: This API element is subject to removal in a future version.Generates a VersionProperty representation for an entity mapping given its version mapping Property.- Parameters:
property- The version mapping Property.lazyAvailable- Is property lazy loading currently available.- Returns:
- The appropriate VersionProperty definition.
buildEntityBasedAttribute
public static NonIdentifierAttribute buildEntityBasedAttribute(EntityPersister persister,SessionFactoryImplementor sessionFactory, int attributeNumber,Property property, boolean lazyAvailable,RuntimeModelCreationContext creationContext)
Deprecated, for removal: This API element is subject to removal in a future version.Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entity- Parameters:
property- The mapped property.lazyAvailable- Is property lazy loading currently available.- Returns:
- The appropriate NonIdentifierProperty definition.