public enum AssociationKind extends Enum<AssociationKind>
Association.getAssociationKind()| Enum Constant and Description |
|---|
Association
An association between two elements not in a parent-child-relation.
|
Composition
A parent-child relation
|
CompositionToMaster
A child-parent relation
|
| Modifier and Type | Method and Description |
|---|---|
static AssociationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssociationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssociationKind Association
public static final AssociationKind Composition
public static final AssociationKind CompositionToMaster
public static AssociationKind[] values()
for (AssociationKind c : AssociationKind.values()) System.out.println(c);
public static AssociationKind 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. All rights reserved.