getSupertype() - JPA IdentifiableType's method
Method javax.persistence.metamodel.IdentifiableType
IdentifiableType<?> getSupertype()
Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass.
- Returns:
- supertype of identifiable type or null if no such supertype
- Since:
- JPA 2.0