java.lang.Object
org.seasar.doma.jdbc.entity.EntityTypeFactory
A factory for entity descriptions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <E> EntityType<E>getEntityType(Class<E> entityClass, ClassHelper classHelper) Creates the entity description.
-
Constructor Details
-
EntityTypeFactory
public EntityTypeFactory()
-
-
Method Details
-
getEntityType
Creates the entity description.- Type Parameters:
E- the entity type- Parameters:
entityClass- the entity classclassHelper- the class helper- Returns:
- the entity description
- Throws:
DomaNullPointerException- if any arguments arenullDomaIllegalArgumentException- if the entity class is not annotated with theEntityannotationEntityTypeNotFoundException- if the entity description is not found
-