Package jakarta.persistence.metamodel
Interface Type<X>
- Type Parameters:
X- The type of the represented object or attribute
- All Known Subinterfaces:
BasicType<X>,EmbeddableType<X>,EntityType<X>,IdentifiableType<X>,ManagedType<X>,MappedSuperclassType<X>
public interface Type<X>
Instances of the type
Type represent persistent object
or attribute types.- Since:
- 2.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturn the represented Java type.Return the persistence type.
-
Method Details
-
getPersistenceType
Type.PersistenceType getPersistenceType()Return the persistence type.- Returns:
- persistence type
-
getJavaType
Return the represented Java type.- Returns:
- Java type
-