public static enum ForeignKey.Relationship extends Enum<ForeignKey.Relationship>
| Enum Constant and Description |
|---|
MANY_TO_MANY |
MANY_TO_ONE |
ONE_TO_MANY |
| Modifier and Type | Method and Description |
|---|---|
static ForeignKey.Relationship |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForeignKey.Relationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForeignKey.Relationship ONE_TO_MANY
public static final ForeignKey.Relationship MANY_TO_ONE
public static final ForeignKey.Relationship MANY_TO_MANY
public static ForeignKey.Relationship[] values()
for (ForeignKey.Relationship c : ForeignKey.Relationship.values()) System.out.println(c);
public static ForeignKey.Relationship 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 © 2016. All rights reserved.