Jakarta Persistence (JPA) Methodin jakarta.persistence.NamedSubgraphClass<?> type()(Optional) The type represented by this subgraph. The element must be specified when this subgraph is extending a definition on behalf of a subclass.Since:Jakarta Persistence (JPA) 1.0