Class EmbeddableTypeImpl<X>
- java.lang.Object
-
- org.eclipse.persistence.internal.jpa.metamodel.TypeImpl<X>
-
- org.eclipse.persistence.internal.jpa.metamodel.ManagedTypeImpl<X>
-
- org.eclipse.persistence.internal.jpa.metamodel.EmbeddableTypeImpl<X>
-
- Type Parameters:
X- The represented type.
- All Implemented Interfaces:
jakarta.persistence.metamodel.EmbeddableType<X>,jakarta.persistence.metamodel.ManagedType<X>,jakarta.persistence.metamodel.Type<X>,Serializable
public class EmbeddableTypeImpl<X> extends ManagedTypeImpl<X> implements jakarta.persistence.metamodel.EmbeddableType<X>
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:
EmbeddableType, Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.internal.jpa.metamodel.ManagedTypeImpl
descriptor, metamodel
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmbeddableTypeImpl(MetamodelImpl metamodel, ClassDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.metamodel.Type.PersistenceTypegetPersistenceType()Return the persistence type.booleanisEntity()INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)booleanisMappedSuperclass()INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)-
Methods inherited from class org.eclipse.persistence.internal.jpa.metamodel.ManagedTypeImpl
create, getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getDescriptor, getList, getList, getMap, getMap, getMembers, getMetamodel, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes, getTypeClassFromAttributeOrMethodLevelAccessor, initialize, isIdentifiableType, isManagedType, toStringHelper
-
Methods inherited from class org.eclipse.persistence.internal.jpa.metamodel.TypeImpl
getJavaType, getJavaType, getJavaTypeName, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.persistence.metamodel.ManagedType
getAttribute, getAttributes, getCollection, getCollection, getDeclaredAttribute, getDeclaredAttributes, getDeclaredCollection, getDeclaredCollection, getDeclaredList, getDeclaredList, getDeclaredMap, getDeclaredMap, getDeclaredPluralAttributes, getDeclaredSet, getDeclaredSet, getDeclaredSingularAttribute, getDeclaredSingularAttribute, getDeclaredSingularAttributes, getList, getList, getMap, getMap, getPluralAttributes, getSet, getSet, getSingularAttribute, getSingularAttribute, getSingularAttributes
-
-
-
-
Constructor Detail
-
EmbeddableTypeImpl
protected EmbeddableTypeImpl(MetamodelImpl metamodel, ClassDescriptor descriptor)
-
-
Method Detail
-
getPersistenceType
public jakarta.persistence.metamodel.Type.PersistenceType getPersistenceType()
Return the persistence type.- Specified by:
getPersistenceTypein interfacejakarta.persistence.metamodel.Type<X>- Returns:
- persistence type
-
isEntity
public boolean isEntity()
INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)
-
isMappedSuperclass
public boolean isMappedSuperclass()
INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)- Specified by:
isMappedSuperclassin classTypeImpl<X>- Returns:
-
-