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

public Class BasicTypeImpl<X>

extends TypeImpl<X>
implements BasicType<X>
Class Inheritance
All Implemented Interfaces
jakarta.persistence.metamodel.BasicType, jakarta.persistence.metamodel.Type
Type Parameters
<X>
The type of the represented basic type
Imports
jakarta.persistence.metamodel.BasicType

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

Description: Instances of the type BasicType represent basic types (including temporal and enumerated types).

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

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

Constructor Summary

AccessConstructor and Description
protected
BasicTypeImpl(Class<X> javaClass)

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)
protected boolean
isIdentifiableType()

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

INTERNAL: Return whether this type is identifiable.
protected boolean
isManagedType()

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

INTERNAL: Return whether this type is identifiable.
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)
protected void
toStringHelper(StringBuffer aBuffer)

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

INTERNAL: Append the partial string representation of the receiver to the StringBuffer.
Inherited from org.eclipse.persistence.internal.jpa.metamodel.TypeImpl:
getJavaTypegetJavaTypegetJavaTypeNametoString

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

BasicTypeImplback to summary
protected BasicTypeImpl(Class<X> javaClass)

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
isIdentifiableTypeback to summary
protected boolean isIdentifiableType()

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

INTERNAL: Return whether this type is identifiable. This would be EntityType and MappedSuperclassType

Annotations
@Override
isManagedTypeback to summary
protected boolean isManagedType()

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

INTERNAL: Return whether this type is identifiable. This would be EmbeddableType as well as EntityType and MappedSuperclassType

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
toStringHelperback to summary
protected void toStringHelper(StringBuffer aBuffer)

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

INTERNAL: Append the partial string representation of the receiver to the StringBuffer.

Annotations
@Override