public static enum Association.MappedTo extends java.lang.Enum<Association.MappedTo>
Enum Constant and Description |
---|
ASSOCIATION_OBJECT
Map the property value to the association object itself.
|
TARGET_OBJECT
Map the property value to the target of the association.
|
Modifier and Type | Method and Description |
---|---|
static Association.MappedTo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Association.MappedTo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Association.MappedTo ASSOCIATION_OBJECT
public static final Association.MappedTo TARGET_OBJECT
public static Association.MappedTo[] values()
for (Association.MappedTo c : Association.MappedTo.values()) System.out.println(c);
public static Association.MappedTo 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