|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.tuple.PropertyFactory
public class PropertyFactory
Responsible for generation of runtime metamodel Property
representations.
Makes distinction between identifier, version, and other (standard) properties.
Constructor Summary | |
---|---|
PropertyFactory()
|
Method Summary | |
---|---|
static IdentifierProperty |
buildIdentifierProperty(EntityBinding mappedEntity,
IdentifierGenerator generator)
Generates an IdentifierProperty representation of the for a given entity mapping. |
static IdentifierProperty |
buildIdentifierProperty(PersistentClass mappedEntity,
IdentifierGenerator generator)
Generates an IdentifierProperty representation of the for a given entity mapping. |
static StandardProperty |
buildStandardProperty(AttributeBinding property,
boolean lazyAvailable)
Generate a "standard" (i.e., non-identifier and non-version) based on the given mapped property. |
static StandardProperty |
buildStandardProperty(Property property,
boolean lazyAvailable)
Generate a "standard" (i.e., non-identifier and non-version) based on the given mapped property. |
static VersionProperty |
buildVersionProperty(BasicAttributeBinding property,
boolean lazyAvailable)
Generates a VersionProperty representation for an entity mapping given its version mapping Property. |
static VersionProperty |
buildVersionProperty(Property property,
boolean lazyAvailable)
Generates a VersionProperty representation for an entity mapping given its version mapping Property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyFactory()
Method Detail |
---|
public static IdentifierProperty buildIdentifierProperty(PersistentClass mappedEntity, IdentifierGenerator generator)
mappedEntity
- The mapping definition of the entity.generator
- The identifier value generator to use for this identifier.
public static IdentifierProperty buildIdentifierProperty(EntityBinding mappedEntity, IdentifierGenerator generator)
mappedEntity
- The mapping definition of the entity.generator
- The identifier value generator to use for this identifier.
public static VersionProperty buildVersionProperty(Property property, boolean lazyAvailable)
property
- The version mapping Property.lazyAvailable
- Is property lazy loading currently available.
public static VersionProperty buildVersionProperty(BasicAttributeBinding property, boolean lazyAvailable)
property
- The version mapping Property.lazyAvailable
- Is property lazy loading currently available.
public static StandardProperty buildStandardProperty(Property property, boolean lazyAvailable)
property
- The mapped property.lazyAvailable
- Is property lazy loading currently available.
public static StandardProperty buildStandardProperty(AttributeBinding property, boolean lazyAvailable)
property
- The mapped property.lazyAvailable
- Is property lazy loading currently available.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |