public static enum DuplicateMappingException.Type extends Enum<DuplicateMappingException.Type>
| Enum Constant and Description | 
|---|
COLUMN
A duplicate column definition was encountered. 
 | 
ENTITY
A duplicate entity definition was encountered. 
 | 
PROPERTY
A duplicate property/attribute definition 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 TABLE
public static final DuplicateMappingException.Type PROPERTY
public static final DuplicateMappingException.Type COLUMN
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-2015 Red Hat, Inc. All Rights Reserved.