public final class EntityTypeFactory
extends java.lang.Object
| Constructor and Description |
|---|
EntityTypeFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <E> EntityType<E> |
getEntityType(java.lang.Class<E> entityClass,
ClassHelper classHelper)
Creates the entity description.
|
public static <E> EntityType<E> getEntityType(java.lang.Class<E> entityClass, ClassHelper classHelper)
E - the entity typeentityClass - the entity classclassHelper - the class helperDomaNullPointerException - if any arguments are nullDomaIllegalArgumentException - if the entity class is not annotated with the Entity annotationEntityTypeNotFoundException - if the entity description is not found