Class EmbeddableTypeImpl<X>

  • Type Parameters:
    X - The represented type.
    All Implemented Interfaces:
    java.io.Serializable, javax.persistence.metamodel.EmbeddableType<X>, javax.persistence.metamodel.ManagedType<X>, javax.persistence.metamodel.Type<X>

    public class EmbeddableTypeImpl<X>
    extends ManagedTypeImpl<X>
    implements javax.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
    • Constructor Detail

      • EmbeddableTypeImpl

        protected EmbeddableTypeImpl​(MetamodelImpl metamodel,
                                     org.eclipse.persistence.descriptors.ClassDescriptor descriptor)
    • Method Detail

      • getPersistenceType

        public javax.persistence.metamodel.Type.PersistenceType getPersistenceType()
        Return the persistence type.
        Specified by:
        getPersistenceType in interface javax.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)
        Specified by:
        isEntity in class TypeImpl<X>
        Returns:
      • isMappedSuperclass

        public boolean isMappedSuperclass()
        INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)
        Specified by:
        isMappedSuperclass in class TypeImpl<X>
        Returns: