Purpose: Provides the implementation for the EntityType interface
of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
EntityTypeImpl implements the IdentifiableType interface via EntityType
Description: Instances of the type EntityType represent entity types.
jakarta.persistence.metamodel.EntityType
| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Class | Returns: Java typeImplements jakarta. |
| public Bindable. | Returns: bindable typeImplements jakarta. |
| public String | Returns: entity nameImplements jakarta. |
| public Type. | Returns: persistence typeImplements jakarta. |
| public boolean | isEntity()
Implements abstract org. |
| public boolean | isMappedSuperclass()
Implements abstract org. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Item 54: DI 89: explicit UID will avoid performance hit runtime generation of one | |
| EntityTypeImpl | back to summary |
|---|---|
| protected EntityTypeImpl(MetamodelImpl metamodel, ClassDescriptor descriptor) | |
| getBindableJavaType | back to summary |
|---|---|
| public Class Implements jakarta. Return the Java type of the represented object.
If the bindable type of the object is | |
| getBindableType | back to summary |
|---|---|
| public Bindable. Implements jakarta. Return the bindable type of the represented object.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements jakarta. Return the entity name | |
| getPersistenceType | back to summary |
|---|---|
| public Type. Implements jakarta. Return the persistence type.
| |
| isEntity | back to summary |
|---|---|
| public boolean isEntity() Implements abstract org. INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false)
| |
| isMappedSuperclass | back to summary |
|---|---|
| public boolean isMappedSuperclass() Implements abstract org. INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false)
| |