managedType(cls) - JPA Metamodel's method
Method javax.persistence.metamodel.Metamodel
ManagedType<X> managedType(
Class<X> cls
)
- Parameters:
-
cls
- the type of the represented managed class
- Returns:
- the metamodel managed type
- Throws:
-
IllegalArgumentException
- if not a managed class
- Since:
- JPA 2.0