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