public static enum Relation.ForeignKey extends Enum<Relation.ForeignKey>
| Enum Constant and Description |
|---|
MANY_TO_MANY
The MAN y_ t o_ many.
|
MANY_TO_ONE
The MAN y_ t o_ one.
|
ONE_TO_MANY
The ON e_ t o_ many.
|
ONE_TO_ONE
The ON e_ t o_ one.
|
| Modifier and Type | Method and Description |
|---|---|
static Relation.ForeignKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relation.ForeignKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relation.ForeignKey ONE_TO_ONE
public static final Relation.ForeignKey ONE_TO_MANY
public static final Relation.ForeignKey MANY_TO_ONE
public static final Relation.ForeignKey MANY_TO_MANY
public static Relation.ForeignKey[] values()
for (Relation.ForeignKey c : Relation.ForeignKey.values()) System.out.println(c);
public static Relation.ForeignKey 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 © 2015. All Rights Reserved.