public enum EntityMode extends Enum<EntityMode>
Modifier and Type | Method and Description |
---|---|
static EntityMode |
parse(String entityMode)
Legacy-style entity-mode name parsing.
|
String |
toString() |
static EntityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityMode POJO
public static final EntityMode MAP
public static EntityMode[] values()
for (EntityMode c : EntityMode.values()) System.out.println(c);
public static EntityMode 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 nullpublic String toString()
toString
in class Enum<EntityMode>
public static EntityMode parse(String entityMode)
entityMode
- The entity mode name to evaluatenull
for incoming entityMode
param is treated by returning
POJO
.Copyright © 2018 JBoss by Red Hat. All rights reserved.