org.hibernate.metamodel.ValueClassification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* 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 http://www.gnu.org/licenses/lgpl-2.1.html
*/
package org.hibernate.metamodel;
/**
* At the end of the day, any "value mapping" (id, version, attribute, collection element, etc.)
* can be one of a few classifications. This defines an enumeration of those classifications.
*
* @author Steve Ebersole
*/
public enum ValueClassification {
/**
* The mapped value is a basic value (String, Date, etc).
*/
BASIC,
/**
* ANY is a Hibernate-specific concept. It is essentially a "reverse discrimination".
* Here, the association itself defines a discriminator to the associated entity,
* sort of the reverse of discriminator-inheritance. Here the various associated types
* can be unrelated in terms of mapped inheritance.
*/
ANY,
/**
* An {@link jakarta.persistence.Embeddable} value
*/
EMBEDDABLE,
/**
* Reference to an entity
*/
ENTITY
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy