void
|
afterInitialize(Object entity, boolean lazyPropertiesAreUnfetched, SessionImplementor session)
Called just after the entities properties have been initialized.
|
abstract
Instantiator
|
buildInstantiator(PersistentClass mappingInfo)
Build an appropriate Instantiator for the given mapped entity.
|
abstract
Getter
|
buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)
Build an appropriate Getter for the given property.
|
abstract
Setter
|
buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)
Build an appropriate Setter for the given property.
|
abstract
ProxyFactory
|
buildProxyFactory(PersistentClass mappingInfo, Getter idGetter, Setter idSetter)
Build an appropriate ProxyFactory for the given mapped entity.
|
final
Object
|
createProxy(Serializable id, SessionImplementor session)
Generates an appropriate proxy representation of this entity for this
entity-mode.
|
Object
|
getComponentValue(ComponentType type, Object component, String propertyPath)
Extract a component property value.
|
final
EntityMetamodel
|
getEntityMetamodel()
|
String
|
getEntityName()
Retreives the defined entity-name for the tuplized entity.
|
final
SessionFactoryImplementor
|
getFactory()
|
Getter
|
getGetter(int i)
Retrieve the getter for the specified property.
|
Serializable
|
getIdentifier(Object entity, SessionImplementor session)
Extract the identifier value from the given entity.
|
Serializable
|
getIdentifier(Object entity)
Extract the identifier value from the given entity.
|
Getter
|
getIdentifierGetter()
Retrieve the getter for the identifier property.
|
Type
|
getIdentifierMapperType()
|
final
Instantiator
|
getInstantiator()
|
Object
|
getPropertyValue(Object entity, String propertyPath)
Extract the value of a particular property from the given entity.
|
Object
|
getPropertyValue(Object entity, int i)
Extract the value of a particular property from the given entity.
|
Object[]
|
getPropertyValues(Object entity)
Extract the current values contained on the given entity.
|
Object[]
|
getPropertyValuesToInsert(Object entity, Map mergeMap, SessionImplementor session)
Extract the values of the insertable properties of the entity (including backrefs)
|
final
ProxyFactory
|
getProxyFactory()
|
Set
|
getSubclassEntityNames()
Retrieves the defined entity-names for any subclasses defined for this
entity.
|
Object
|
getVersion(Object entity)
Extract the value of the version property from the given entity.
|
Getter
|
getVersionGetter()
Retrieve the getter for the version property.
|
boolean
|
hasProxy()
Does this entity, for this mode, present a possibility for proxying?
|
boolean
|
hasUninitializedLazyProperties(Object entity)
Does the given entity instance have any currently uninitialized lazy properties?
|
final
Object
|
instantiate()
Generate a new, empty entity.
|
final
Object
|
instantiate(Serializable id, SessionImplementor session)
Create an entity instance initialized with the given identifier.
|
final
Object
|
instantiate(Serializable id)
Create an entity instance initialized with the given identifier.
|
final
boolean
|
isInstance(Object object)
Is the given object considered an instance of the the entity (acconting
for entity-mode) managed by this tuplizer.
|
boolean
|
isLifecycleImplementor()
Does the class managed by this tuplizer implement
the Lifecycle interface.
|
boolean
|
isValidatableImplementor()
|
void
|
resetIdentifier(Object entity, Serializable currentId, Object currentVersion)
Inject the given identifier and version into the entity, in order to
"roll back" to their original values.
|
void
|
resetIdentifier(Object entity, Serializable currentId, Object currentVersion, SessionImplementor session)
Inject the given identifier and version into the entity, in order to
"roll back" to their original values.
|
void
|
setIdentifier(Object entity, Serializable id)
Inject the identifier value into the given entity.
|
void
|
setIdentifier(Object entity, Serializable id, SessionImplementor session)
Inject the identifier value into the given entity.
|
void
|
setPropertyValue(Object entity, int i, Object value)
Inject the value of a particular property.
|
void
|
setPropertyValue(Object entity, String propertyName, Object value)
Inject the value of a particular property.
|
void
|
setPropertyValues(Object entity, Object[] values)
Inject the given values into the given entity.
|
boolean
|
shouldGetAllProperties(Object entity)
|
String
|
toString()
|