public enum ModelAssociationType extends Enum<ModelAssociationType>
| Enum Constant and Description |
|---|
BELONGS_TO |
HAS_MANY |
HAS_ONE |
| Modifier and Type | Method and Description |
|---|---|
static ModelAssociationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelAssociationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelAssociationType BELONGS_TO
public static final ModelAssociationType HAS_MANY
public static final ModelAssociationType HAS_ONE
public static ModelAssociationType[] values()
for (ModelAssociationType c : ModelAssociationType.values()) System.out.println(c);
public static ModelAssociationType 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 nullCopyright © 2010-2013. All Rights Reserved.