Package org.hibernate
Enum Class DuplicateMappingException.Type
- All Implemented Interfaces:
Serializable
,Comparable<DuplicateMappingException.Type>
,java.lang.constant.Constable
- Enclosing class:
- DuplicateMappingException
Enumeration of the types of things that can be duplicated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA duplicate collection role was encounteredA duplicate column definition was encountered.A duplicate column definition was encountered.A duplicate entity definition was encountered.A duplicate named entity graph was encounteredA duplicate NamedStoredProcedureQuery was encounteredA duplicate property/attribute definition was encountered.A duplicate named query (ql or native) was encounteredA duplicate ResultSetMapping was encounteredA duplicate table definition was encountered. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static DuplicateMappingException.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENTITY
A duplicate entity definition was encountered. -
COLLECTION
A duplicate collection role was encountered -
TABLE
A duplicate table definition was encountered. -
PROPERTY
A duplicate property/attribute definition was encountered. -
COLUMN
A duplicate column definition was encountered. -
COLUMN_BINDING
A duplicate column definition was encountered. -
NAMED_ENTITY_GRAPH
A duplicate named entity graph was encountered -
QUERY
A duplicate named query (ql or native) was encountered -
RESULT_SET_MAPPING
A duplicate ResultSetMapping was encountered -
PROCEDURE
A duplicate NamedStoredProcedureQuery was encountered
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-