Top Description Fields Constructors Methods
org.eclipse.persistence.internal.jpa.metamodel

public Class EmbeddableTypeImpl<X>

extends ManagedTypeImpl<X>
implements EmbeddableType<X>
Class Inheritance
All Implemented Interfaces
jakarta.persistence.metamodel.EmbeddableType, jakarta.persistence.metamodel.ManagedType, jakarta.persistence.metamodel.Type
Type Parameters
<X>
The represented type.
Imports
jakarta.persistence.metamodel.EmbeddableType, org.eclipse.persistence.descriptors.ClassDescriptor

Purpose: Provides the implementation for the EmbeddableType interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)

Description: Instances of the type EmbeddableType represent embeddable types.

Since
EclipseLink 1.2 - JPA 2.0
See Also
jakarta.persistence.metamodel.EmbeddableType

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one

Inherited from org.eclipse.persistence.internal.jpa.metamodel.ManagedTypeImpl:
descriptormetamodel

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public Type.PersistenceType

Returns:

persistence type
getPersistenceType
()

Implements jakarta.persistence.metamodel.Type.getPersistenceType.

Return the persistence type.
public boolean
isEntity()

Implements abstract org.eclipse.persistence.internal.jpa.metamodel.TypeImpl.isEntity.

INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)
public boolean
isMappedSuperclass()

Implements abstract org.eclipse.persistence.internal.jpa.metamodel.TypeImpl.isMappedSuperclass.

INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)
Inherited from org.eclipse.persistence.internal.jpa.metamodel.ManagedTypeImpl:
creategetAttributegetAttributesgetCollectiongetCollectiongetDeclaredAttributegetDeclaredAttributegetDeclaredAttributesgetDeclaredCollectiongetDeclaredCollectiongetDeclaredListgetDeclaredListgetDeclaredMapgetDeclaredMapgetDeclaredPluralAttributesgetDeclaredSetgetDeclaredSetgetDeclaredSingularAttributegetDeclaredSingularAttributegetDeclaredSingularAttributesgetDescriptorgetListgetListgetMapgetMapgetMembersgetMetamodelgetPluralAttributesgetSetgetSetgetSingularAttributegetSingularAttributegetSingularAttributesgetTypeClassFromAttributeOrMethodLevelAccessorinitializeisIdentifiableTypeisManagedTypetoStringHelper

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one

Constructor Detail

EmbeddableTypeImplback to summary
protected EmbeddableTypeImpl(MetamodelImpl metamodel, ClassDescriptor descriptor)

Method Detail

getPersistenceTypeback to summary
public Type.PersistenceType getPersistenceType()

Implements jakarta.persistence.metamodel.Type.getPersistenceType.

Return the persistence type.

Returns:Type.PersistenceType

persistence type

Annotations
@Override
isEntityback to summary
public boolean isEntity()

Implements abstract org.eclipse.persistence.internal.jpa.metamodel.TypeImpl.isEntity.

INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)

Annotations
@Override
isMappedSuperclassback to summary
public boolean isMappedSuperclass()

Implements abstract org.eclipse.persistence.internal.jpa.metamodel.TypeImpl.isMappedSuperclass.

INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)

Annotations
@Override