EmbeddableType<X> embeddable(
Class<X> cls
)
Return the metamodel embeddable type representing the embeddable class.
- Parameters:
cls
- the type of the represented embeddable class
- Return:
- the metamodel embeddable type
- Throws:
- IllegalArgumentException - if not an embeddable class
- Since:
- JPA 2.0