## Uses of Interface
javax.persistence.metamodel.EntityType

Packages that use EntityType
javax.persistence.criteria: Java Persistence Criteria API
javax.persistence.metamodel: Java Persistence Metamodel API

### Uses of EntityType in javax.persistence.criteria

Methods in javax.persistence.criteria that return EntityType
`EntityType<X>` Root.`getModel()` Return the metamodel entity corresponding to the root.

Methods in javax.persistence.criteria with parameters of type EntityType
`Root<T>` CriteriaUpdate.`from(EntityType<T> entity)` Create and add a query root corresponding to the entity that is the target of the update.
`Root<T>` CriteriaDelete.`from(EntityType<T> entity)` Create and add a query root corresponding to the entity that is the target of the delete.
`<X> Root<X>` AbstractQuery.`from(EntityType<X> entity)` Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots.

### Uses of EntityType in javax.persistence.metamodel

Methods in javax.persistence.metamodel that return EntityType
`<X> EntityType<X>` Metamodel.`entity(Class<X> cls)` Return the metamodel entity type representing the entity.

Methods in javax.persistence.metamodel that return types with arguments of type EntityType
`Set<EntityType<?>>` Metamodel.`getEntities()` Return the metamodel entity types.