public interface ManagedEntity extends Managed
Specialized Managed contract for entity classes. Essentially provides access to information
about an instance’s association to a Session/EntityManager. Specific information includes:<ul>
<li>
the association’s EntityEntry (by way of #_hibernate_getEntityEntry and
#_hibernate_setEntityEntry). EntityEntry describes states, snapshots, etc.
</li>
<li>
link information. ManagedEntity instances are part of a "linked list", thus link information
describes the next and previous entries/nodes in that ordering. See
#_hibernate_getNextManagedEntity, #_hibernate_setNextManagedEntity,
#_hibernate_getPreviousManagedEntity, #_hibernate_setPreviousManagedEntity
</li>
</ul>
| Modifier and Type | Method and Description |
|---|---|
EntityEntry |
$$_hibernate_getEntityEntry()
Provides access to the associated EntityEntry.
|
Object |
$$_hibernate_getEntityInstance()
Obtain a reference to the entity instance.
|
ManagedEntity |
$$_hibernate_getNextManagedEntity()
Part of entry linking; obtain reference to the next entry.
|
ManagedEntity |
$$_hibernate_getPreviousManagedEntity()
Part of entry linking; obtain reference to the previous entry.
|
void |
$$_hibernate_setEntityEntry(EntityEntry entityEntry)
Injects the EntityEntry associated with this entity instance.
|
void |
$$_hibernate_setNextManagedEntity(ManagedEntity next)
Part of entry linking; sets the next entry.
|
void |
$$_hibernate_setPreviousManagedEntity(ManagedEntity previous)
Part of entry linking; sets the previous entry.
|
Object $$_hibernate_getEntityInstance()
Obtain a reference to the entity instance.
EntityEntry $$_hibernate_getEntityEntry()
Provides access to the associated EntityEntry.
$$_hibernate_setEntityEntry(org.hibernate.engine.spi.EntityEntry)void $$_hibernate_setEntityEntry(EntityEntry entityEntry)
Injects the EntityEntry associated with this entity instance. The EntityEntry represents state associated with the entity in regards to its association with a Hibernate Session.
entityEntry - The EntityEntry associated with this entity instance.ManagedEntity $$_hibernate_getPreviousManagedEntity()
Part of entry linking; obtain reference to the previous entry. Can be null, which should indicate
this is the head node.
void $$_hibernate_setPreviousManagedEntity(ManagedEntity previous)
Part of entry linking; sets the previous entry. Again, can be null, which should indicate
this is (now) the head node.
previous - The previous entryManagedEntity $$_hibernate_getNextManagedEntity()
Part of entry linking; obtain reference to the next entry. Can be null, which should indicate
this is the tail node.
void $$_hibernate_setNextManagedEntity(ManagedEntity next)
Part of entry linking; sets the next entry. Again, can be null, which should indicate
this is (now) the tail node.
next - The next entryCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.