public enum EntityMode extends Enum<EntityMode>
Defines the representation modes available for entities.
| Enum Constant and Description |
|---|
MAP
The
dynamic-map entity mode describes an entity model defined using Map references. |
POJO
The
pojo entity mode describes an entity model made up of entity classes (loosely) following
the java bean convention. |
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalName() |
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
The pojo entity mode describes an entity model made up of entity classes (loosely) following
the java bean convention.
public static final EntityMode MAP
The dynamic-map entity mode describes an entity model defined using Map references.
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 getExternalName()
public String toString()
toString in class Enum<EntityMode>public static EntityMode parse(String entityMode)
Legacy-style entity-mode name parsing. <b>Case insensitive</b>
entityMode - The entity mode name to evaluatenull for incoming entityMode param is treated by returning
POJO.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.