org.hibernate.boot.model.source.spi.IdentifierSourceSimple Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* 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.source.spi;
/**
* Additional contract describing the source of an identifier mapping whose {@link #getNature() nature} is
* {@link org.hibernate.id.EntityIdentifierNature#SIMPLE simple}.
*
* @author Steve Ebersole
*/
public interface IdentifierSourceSimple extends IdentifierSource {
/**
* Obtain the source descriptor for the identifier attribute.
*
* @return The identifier attribute source.
*/
public SingularAttributeSource getIdentifierAttributeSource();
/**
* Returns the "unsaved" entity identifier value.
*
* @return the "unsaved" entity identifier value
*/
public String getUnsavedValue();
}