JPA Method
in javax.persistence.metamodel.IdentifiableType

IdentifiableType<?superX> getSupertype()


Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass.
Return:
supertype of identifiable type or null if no such supertype
Since:
JPA 2.0