All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.model.naming.EntityNaming Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.boot.model.naming;

/**
 * @author Steve Ebersole
 */
public interface EntityNaming {
	/**
	 * 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?
	 *
	 * @return The entity class name.
	 */
	public String getClassName();

	/**
	 * 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
  • *
* * @return The Hibernate entity name */ public String getEntityName(); /** * The JPA-specific entity name. See {@link javax.persistence.Entity#name()} for details. * * @return The JPA entity name, if one was specified. May return {@code null} if one * was not explicitly specified. */ public String getJpaEntityName(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy