public static enum EdmNavigationProperty.Multiplicity extends Enum<EdmNavigationProperty.Multiplicity>
EdmMultiplicity indicates the number of entity type instances an association end can relate to:
nullable = true
)nullable = false
)Enum Constant and Description |
---|
MANY |
ONE |
ZERO_OR_ONE |
Modifier and Type | Method and Description |
---|---|
static EdmNavigationProperty.Multiplicity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdmNavigationProperty.Multiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdmNavigationProperty.Multiplicity ZERO_OR_ONE
public static final EdmNavigationProperty.Multiplicity ONE
public static final EdmNavigationProperty.Multiplicity MANY
public static EdmNavigationProperty.Multiplicity[] values()
for (EdmNavigationProperty.Multiplicity c : EdmNavigationProperty.Multiplicity.values()) System.out.println(c);
public static EdmNavigationProperty.Multiplicity 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 © 2013-2017 The Apache Software Foundation. All Rights Reserved.