Top Description Methods
org.hibernate.engine.spi

public Interface ManagedEntity

extends Managed
Known Direct Subinterfaces
org.hibernate.engine.spi.EnhancedEntity
Known Direct Implementers
org.hibernate.engine.internal.EntityEntryContext.ManagedEntityImpl, org.hibernate.engine.internal.EntityEntryContext.ImmutableManagedEntityHolder

Specialized Managed contract for entity classes. Essentially provides access to information about an instance's association to a Session/EntityManager. Specific information includes:
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public EntityEntry

Returns:

The EntityEntry associated with this entity instance.
$$_hibernate_getEntityEntry
()

Provides access to the associated EntityEntry.

public Object

Returns:

The entity instance.
$$_hibernate_getEntityInstance
()

Obtain a reference to the entity instance.

public ManagedEntity

Returns:

The next entry
$$_hibernate_getNextManagedEntity
()

Part of entry linking; obtain reference to the next entry.

public ManagedEntity

Returns:

The previous entry
$$_hibernate_getPreviousManagedEntity
()

Part of entry linking; obtain reference to the previous entry.

public void
$$_hibernate_setEntityEntry(EntityEntry
The EntityEntry associated with this entity instance.
entityEntry
)

Injects the EntityEntry associated with this entity instance.

public void
$$_hibernate_setNextManagedEntity(ManagedEntity
The next entry
next
)

Part of entry linking; sets the next entry.

public void
$$_hibernate_setPreviousManagedEntity(ManagedEntity
The previous entry
previous
)

Part of entry linking; sets the previous entry.

Method Detail

$$_hibernate_getEntityEntryback to summary
public EntityEntry $$_hibernate_getEntityEntry()

Provides access to the associated EntityEntry.

Returns:EntityEntry

The EntityEntry associated with this entity instance.

See Also
$$_hibernate_setEntityEntry
$$_hibernate_getEntityInstanceback to summary
public Object $$_hibernate_getEntityInstance()

Obtain a reference to the entity instance.

Returns:Object

The entity instance.

$$_hibernate_getNextManagedEntityback to summary
public ManagedEntity $$_hibernate_getNextManagedEntity()

Part of entry linking; obtain reference to the next entry. Can be null, which should indicate this is the tail node.

Returns:ManagedEntity

The next entry

$$_hibernate_getPreviousManagedEntityback to summary
public ManagedEntity $$_hibernate_getPreviousManagedEntity()

Part of entry linking; obtain reference to the previous entry. Can be null, which should indicate this is the head node.

Returns:ManagedEntity

The previous entry

$$_hibernate_setEntityEntryback to summary
public 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.

Parameters
entityEntry:EntityEntry

The EntityEntry associated with this entity instance.

$$_hibernate_setNextManagedEntityback to summary
public 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.

Parameters
next:ManagedEntity

The next entry

$$_hibernate_setPreviousManagedEntityback to summary
public 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.

Parameters
previous:ManagedEntity

The previous entry