public static enum PropertyMapping.Mode extends java.lang.Enum<PropertyMapping.Mode>
| Enum Constant and Description |
|---|
EMBEDDED
The embedded.
|
MANY_TO_ONE
The many to one.
|
ONE_TO_MANY
The one to many.
|
SINGLE
The single.
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyMapping.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyMapping.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyMapping.Mode SINGLE
public static final PropertyMapping.Mode EMBEDDED
public static final PropertyMapping.Mode MANY_TO_ONE
public static final PropertyMapping.Mode ONE_TO_MANY
public static PropertyMapping.Mode[] values()
for (PropertyMapping.Mode c : PropertyMapping.Mode.values()) System.out.println(c);
public static PropertyMapping.Mode 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 null