org.hibernate.boot.model.source.spi.NaturalIdMutability 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;
/**
* A ternary boolean enum for describing the mutability aspects of an
* attribute as a natural id.
*
* @author Steve Ebersole
*/
public enum NaturalIdMutability {
/**
* The attribute is part of a mutable natural id
*/
MUTABLE,
/**
* The attribute is part of a immutable natural id
*/
IMMUTABLE,
/**
* The attribute is not part of any kind of natural id.
*/
NOT_NATURAL_ID
}