public enum EntityMode extends java.lang.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 |
---|---|
java.lang.String |
getExternalName() |
static EntityMode |
parse(java.lang.String entityMode)
Legacy-style entity-mode name parsing.
|
java.lang.String |
toString() |
static EntityMode |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getExternalName()
public java.lang.String toString()
toString
in class java.lang.Enum<EntityMode>
public static EntityMode parse(java.lang.String entityMode)
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.