public static enum EnumMappingTable.MappingType extends Enum<EnumMappingTable.MappingType>
Enum Constant and Description |
---|
ENUM
Indicates that the associated java enum has a leading status.
|
NO_ACTION
Indicates that the no special action will be taken to ensure
integrity between java enum and database table
representations.
|
TABLE
Indicates that the associated database table has a leading
status.
|
Modifier and Type | Method and Description |
---|---|
static EnumMappingTable.MappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumMappingTable.MappingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumMappingTable.MappingType NO_ACTION
EnumMapping
rules will be
applied to persist given values to the database. In order to
fine-tune the mapping behaviour, one of two other types must
be chosen. This is the default type.public static final EnumMappingTable.MappingType TABLE
public static final EnumMappingTable.MappingType ENUM
public static EnumMappingTable.MappingType[] values()
for (EnumMappingTable.MappingType c : EnumMappingTable.MappingType.values()) System.out.println(c);
public static EnumMappingTable.MappingType 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 © 2015–2021 OmniFaces. All rights reserved.