Class EntityMetadata
java.lang.Object
io.hypersistence.optimizer.hibernate.event.mapping.EntityMetadata
The
EntityMetadata contains the entity class mapping info.- Since:
- 2.10.0
- Author:
- Vlad Mihalcea
-
Constructor Summary
ConstructorsConstructorDescriptionEntityMetadata(Class entityClass) Instantiate the event using the provided parameters.EntityMetadata(Class entityClass, String entityName) Instantiate the event using the provided parameters. -
Method Summary
Modifier and TypeMethodDescriptionGet the entity class.Get the entity name.
-
Constructor Details
-
EntityMetadata
Instantiate the event using the provided parameters.- Parameters:
entityClass- entity classentityName- entity name
-
EntityMetadata
Instantiate the event using the provided parameters.- Parameters:
entityClass- entity class
-
-
Method Details
-
getEntityClass
Get the entity class.- Returns:
- entity class
-
getEntityName
Get the entity name.- Returns:
- entity name
-