Purpose: Provides the implementation for the Type interface of the JPA 2.0 Metamodel API (part of the JSR-317 EJB 3.1 Criteria API)
Description: Instances of the type Type represent persistent object or attribute types.
jakarta.persistence.metamodel.Type
| Modifier and Type | Field and Description |
|---|---|
| private Class | javaClass
The Java Class in use that this Type represents |
| private String |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public Class | Returns: Java typeImplements jakarta. |
| public String | |
| public abstract boolean | isEntity()
INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false) |
| protected abstract boolean | |
| protected abstract boolean | |
| public abstract boolean | isMappedSuperclass()
INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false) |
| public String | toString()
Overrides java. |
| protected abstract void | toStringHelper(StringBuffer aBuffer)
INTERNAL: Append the partial string representation of the receiver to the StringBuffer. |
| javaClass | back to summary |
|---|---|
| private Class<X> javaClass The Java Class in use that this Type represents | |
| javaClassName | back to summary |
|---|---|
| private String javaClassName | |
| TypeImpl | back to summary |
|---|---|
| protected TypeImpl(Class<X> javaClass) | |
| TypeImpl | back to summary |
|---|---|
| protected TypeImpl(Class<X> javaClass, String javaClassName) | |
| getJavaType | back to summary |
|---|---|
| public Class Return the represented Java type.
| |
| getJavaType | back to summary |
|---|---|
| public Class Implements jakarta. Return the represented Java type. | |
| getJavaTypeName | back to summary |
|---|---|
| public String getJavaTypeName() Return the name of the java type | |
| isEntity | back to summary |
|---|---|
| public abstract boolean isEntity() INTERNAL: Return whether this type is an Entity (true) or MappedSuperclass (false) or Embeddable (false) | |
| isIdentifiableType | back to summary |
|---|---|
| protected abstract boolean isIdentifiableType() INTERNAL: Return whether this type is identifiable. This would be EntityType and MappedSuperclassType | |
| isManagedType | back to summary |
|---|---|
| protected abstract boolean isManagedType() INTERNAL: Return whether this type is identifiable. This would be EmbeddableType as well as EntityType and MappedSuperclassType | |
| isMappedSuperclass | back to summary |
|---|---|
| public abstract boolean isMappedSuperclass() INTERNAL: Return whether this type is an MappedSuperclass (true) or Entity (false) or Embeddable (false) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. INTERNAL: Return the string representation of the receiver.
| |
| toStringHelper | back to summary |
|---|---|
| protected abstract void toStringHelper(StringBuffer aBuffer) INTERNAL: Append the partial string representation of the receiver to the StringBuffer. | |