public enum EntityMode extends Enum<EntityMode>
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
pojo
entity mode describes an entity model made up of entity classes (loosely) following
the java bean convention.public static final EntityMode MAP
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)
entityMode
- The entity mode name to evaluatenull
for incoming entityMode
param is treated by returning
POJO
.Copyright © 2021 JBoss by Red Hat. All rights reserved.