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>
An instance of the type Type represents a persistent object or attribute type.
Since:
2.0
  • Method Details

    • getPersistenceType

      Type.PersistenceType getPersistenceType()
      Return the persistence type.
      Returns:
      persistence type
    • getJavaType

      Class<X> getJavaType()
      Return the represented Java type.
      Returns:
      Java type