public interface ManagedEntity extends Managed
Managed
contract for entity classes. Essentially provides access to information
about an instance's association to a Session/EntityManager. Specific information includes:EntityEntry
(by way of $$_hibernate_getEntityEntry()
and
$$_hibernate_setEntityEntry(org.hibernate.engine.spi.EntityEntry)
). EntityEntry describes states, snapshots, etc.
$$_hibernate_getNextManagedEntity()
, $$_hibernate_setNextManagedEntity(org.hibernate.engine.spi.ManagedEntity)
,
$$_hibernate_getPreviousManagedEntity()
, $$_hibernate_setPreviousManagedEntity(org.hibernate.engine.spi.ManagedEntity)
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()
EntityEntry $$_hibernate_getEntityEntry()
$$_hibernate_setEntityEntry(org.hibernate.engine.spi.EntityEntry)
void $$_hibernate_setEntityEntry(EntityEntry entityEntry)
entityEntry
- The EntityEntry associated with this entity instance.ManagedEntity $$_hibernate_getPreviousManagedEntity()
null
, which should indicate
this is the head node.void $$_hibernate_setPreviousManagedEntity(ManagedEntity previous)
null
, which should indicate
this is (now) the head node.previous
- The previous entryManagedEntity $$_hibernate_getNextManagedEntity()
null
, which should indicate
this is the tail node.void $$_hibernate_setNextManagedEntity(ManagedEntity next)
null
, which should indicate
this is (now) the tail node.next
- The next entryCopyright © 2021 JBoss by Red Hat. All rights reserved.