Package org.hibernate.boot.model.naming
Interface EntityNaming
- All Known Subinterfaces:
EntityNamingSource
public interface EntityNaming
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the fully-qualified entity class name.The Hibernate entity name.The JPA-specific entity name.
-
Method Details
-
getClassName
String getClassName()Retrieve the fully-qualified entity class name. Note that for dynamic entities, this may return (what???). todo : what should this return for dynamic entities? null? The entity name?- Returns:
- The entity class name.
-
getEntityName
String getEntityName()The Hibernate entity name. This might be either:- The explicitly specified entity name, if one
- The unqualified entity class name if no entity name was explicitly specified
- Returns:
- The Hibernate entity name
-
getJpaEntityName
String getJpaEntityName()The JPA-specific entity name. SeeEntity.name()
for details.- Returns:
- The JPA entity name, if one was specified. May return
null
if one was not explicitly specified.
-