Methods Summary |
---|
public void | afterInitialize(java.lang.Object entity, boolean lazyPropertiesAreUnfetched, org.hibernate.engine.SessionImplementor session)Called just after the entities properties have been initialized.
|
public java.lang.Object | createProxy(java.io.Serializable id, org.hibernate.engine.SessionImplementor session)Generates an appropriate proxy representation of this entity for this
entity-mode.
|
public java.lang.Class | getConcreteProxyClass()Returns the java class to which generated proxies will be typed.
|
public java.io.Serializable | getIdentifier(java.lang.Object entity)Extract the identifier value from the given entity.
|
public java.lang.Object | getPropertyValue(java.lang.Object entity, java.lang.String propertyName)Extract the value of a particular property from the given entity.
|
public java.lang.Object[] | getPropertyValuesToInsert(java.lang.Object entity, java.util.Map mergeMap, org.hibernate.engine.SessionImplementor session)Extract the values of the insertable properties of the entity (including backrefs)
|
public java.lang.Object | getVersion(java.lang.Object entity)Extract the value of the version property from the given entity.
|
public boolean | hasProxy()Does this entity, for this mode, present a possibility for proxying?
|
public boolean | hasUninitializedLazyProperties(java.lang.Object entity)Does the given entity instance have any currently uninitialized lazy properties?
|
public java.lang.Object | instantiate(java.io.Serializable id)Create an entity instance initialized with the given identifier.
|
public boolean | isInstrumented()Is it an instrumented POJO?
|
public boolean | isLifecycleImplementor()Does the {@link #getMappedClass() class} managed by this tuplizer implement
the {@link org.hibernate.classic.Lifecycle} interface.
|
public boolean | isValidatableImplementor()Does the {@link #getMappedClass() class} managed by this tuplizer implement
the {@link org.hibernate.classic.Validatable} interface.
|
public void | resetIdentifier(java.lang.Object entity, java.io.Serializable currentId, java.lang.Object currentVersion)Inject the given identifier and version into the entity, in order to
"roll back" to their original values.
|
public void | setIdentifier(java.lang.Object entity, java.io.Serializable id)Inject the identifier value into the given entity.
Has no effect if the entity does not define an identifier property
|
public void | setPropertyValue(java.lang.Object entity, int i, java.lang.Object value)Inject the value of a particular property.
|
public void | setPropertyValue(java.lang.Object entity, java.lang.String propertyName, java.lang.Object value)Inject the value of a particular property.
|