public static enum DuplicateMappingException.Type extends Enum<DuplicateMappingException.Type>
| Enum Constant and Description | 
|---|
COLLECTION
A duplicate collection role was encountered 
 | 
COLUMN
A duplicate column definition was encountered. 
 | 
COLUMN_BINDING
A duplicate column definition was encountered. 
 | 
ENTITY
A duplicate entity definition was encountered. 
 | 
NAMED_ENTITY_GRAPH
A duplicate named entity graph was encountered 
 | 
PROCEDURE
A duplicate NamedStoredProcedureQuery was encountered 
 | 
PROPERTY
A duplicate property/attribute definition was encountered. 
 | 
QUERY
A duplicate named query (ql or native) was encountered 
 | 
RESULT_SET_MAPPING
A duplicate ResultSetMapping was encountered 
 | 
TABLE
A duplicate table definition was encountered. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static DuplicateMappingException.Type | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static DuplicateMappingException.Type[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DuplicateMappingException.Type ENTITY
public static final DuplicateMappingException.Type COLLECTION
public static final DuplicateMappingException.Type TABLE
public static final DuplicateMappingException.Type PROPERTY
public static final DuplicateMappingException.Type COLUMN
public static final DuplicateMappingException.Type COLUMN_BINDING
public static final DuplicateMappingException.Type NAMED_ENTITY_GRAPH
public static final DuplicateMappingException.Type QUERY
public static final DuplicateMappingException.Type RESULT_SET_MAPPING
public static final DuplicateMappingException.Type PROCEDURE
public static DuplicateMappingException.Type[] values()
for (DuplicateMappingException.Type c : DuplicateMappingException.Type.values()) System.out.println(c);
public static DuplicateMappingException.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.