Top Description Methods
org.hibernate.engine.spi

public Interface Managed

extends PrimeAmongSecondarySupertypes
Known Direct Subinterfaces
org.hibernate.engine.spi.ManagedComposite, org.hibernate.engine.spi.ManagedEntity, org.hibernate.engine.spi.ManagedMappedSuperclass

Contract for classes (specifically, entities and components/embeddables) that are "managed". Developers can choose to either have their classes manually implement these interfaces or Hibernate can enhance their classes to implement these interfaces via built-time or run-time enhancement.

The term managed here is used to describe both:

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public default Managed

Returns:

this same instance
asManaged
()

Overrides default org.hibernate.engine.spi.PrimeAmongSecondarySupertypes.asManaged.

Special internal contract to optimize type checking
Inherited from org.hibernate.engine.spi.PrimeAmongSecondarySupertypes:
asCompositeOwnerasCompositeTrackerasHibernateProxyasManagedCompositeasManagedEntityasManagedMappedSuperclassasPersistentAttributeInterceptableasProxyConfigurationasSelfDirtinessTracker

Method Detail

asManagedback to summary
public default Managed asManaged()

Overrides default org.hibernate.engine.spi.PrimeAmongSecondarySupertypes.asManaged.

Special internal contract to optimize type checking

Returns:Managed

this same instance

Annotations
@Override
See Also
PrimeAmongSecondarySupertypes