public enum RelationType extends Enum<RelationType>
Enum Constant and Description |
---|
TO_MANY_MIDDLE
A collection-of-references-valued relation.
|
TO_MANY_MIDDLE_NOT_OWNING
A collection-of-references-valued relation.
|
TO_MANY_NOT_OWNING
A collection-of-references-valued relation.
|
TO_ONE
A single-reference-valued relation.
|
TO_ONE_NOT_OWNING
A single-reference-valued relation.
|
Modifier and Type | Method and Description |
---|---|
static RelationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationType TO_ONE
public static final RelationType TO_ONE_NOT_OWNING
public static final RelationType TO_MANY_NOT_OWNING
public static final RelationType TO_MANY_MIDDLE
public static final RelationType TO_MANY_MIDDLE_NOT_OWNING
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType 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 © 2021 JBoss by Red Hat. All rights reserved.