public static enum Association.AssociationType extends Enum<Association.AssociationType>
| Enum Constant and Description |
|---|
AGGREGATION |
COMPOSITION |
| Modifier and Type | Method and Description |
|---|---|
static Association.AssociationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Association.AssociationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Association.AssociationType AGGREGATION
public static final Association.AssociationType COMPOSITION
public static Association.AssociationType[] values()
for (Association.AssociationType c : Association.AssociationType.values()) System.out.println(c);
public static Association.AssociationType 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 © 2020. All rights reserved.