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