public enum CollectionElementNature extends Enum<CollectionElementNature>
Enum Constant and Description |
---|
BASIC |
COMPOSITE |
MANY_TO_ANY |
MANY_TO_MANY |
ONE_TO_MANY |
Modifier and Type | Method and Description |
---|---|
static CollectionElementNature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionElementNature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionElementNature BASIC
public static final CollectionElementNature COMPOSITE
public static final CollectionElementNature ONE_TO_MANY
public static final CollectionElementNature MANY_TO_MANY
public static final CollectionElementNature MANY_TO_ANY
public static CollectionElementNature[] values()
for (CollectionElementNature c : CollectionElementNature.values()) System.out.println(c);
public static CollectionElementNature 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 © 2012 JBoss by Red Hat. All Rights Reserved.