public enum PluralAttributeElementNature extends Enum<PluralAttributeElementNature>
Enum Constant and Description |
---|
AGGREGATE
The collection elements are compositions.
|
BASIC
The collection elements are basic, simple values.
|
MANY_TO_ANY
The collection elements represent entity's in a multi-valued ANY mapping.
|
MANY_TO_MANY
The collection elements represent entity's in a many-to-many association.
|
ONE_TO_MANY
The collection elements represent entity's in a one-to-many association.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isAssociation() |
boolean |
isCascadeable() |
static PluralAttributeElementNature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PluralAttributeElementNature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluralAttributeElementNature BASIC
public static final PluralAttributeElementNature AGGREGATE
public static final PluralAttributeElementNature ONE_TO_MANY
public static final PluralAttributeElementNature MANY_TO_MANY
public static final PluralAttributeElementNature MANY_TO_ANY
public static PluralAttributeElementNature[] values()
for (PluralAttributeElementNature c : PluralAttributeElementNature.values()) System.out.println(c);
public static PluralAttributeElementNature 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 nullpublic boolean isAssociation()
public boolean isCascadeable()
Copyright © 2021 JBoss by Red Hat. All rights reserved.