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).
jakarta.persistence.metamodel.BasicType
| 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 Type. | Returns: persistence typeImplements jakarta. |
| public boolean | isEntity()
Implements abstract org. |
| protected boolean | isIdentifiableType()
Implements abstract org. |
| protected boolean | isManagedType()
Implements abstract org. |
| public boolean | isMappedSuperclass()
Implements abstract org. |
| protected void | toStringHelper(StringBuffer aBuffer)
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 | |
| BasicTypeImpl | back to summary |
|---|---|
| protected BasicTypeImpl(Class<X> javaClass) | |
| 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)
| |
| isIdentifiableType | back to summary |
|---|---|
| protected boolean isIdentifiableType() Implements abstract org. INTERNAL: Return whether this type is identifiable. This would be EntityType and MappedSuperclassType
| |
| isManagedType | back to summary |
|---|---|
| protected boolean isManagedType() Implements abstract org. INTERNAL: Return whether this type is identifiable. This would be EmbeddableType as well as EntityType and MappedSuperclassType
| |
| 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)
| |
| toStringHelper | back to summary |
|---|---|
| protected void toStringHelper(StringBuffer aBuffer) Implements abstract org. INTERNAL: Append the partial string representation of the receiver to the StringBuffer.
| |