public enum NaturalIdMutability extends Enum<NaturalIdMutability>
Enum Constant and Description |
---|
IMMUTABLE
The attribute is part of a immutable natural id
|
MUTABLE
The attribute is part of a mutable natural id
|
NOT_NATURAL_ID
The attribute is not part of any kind of natural id.
|
Modifier and Type | Method and Description |
---|---|
static NaturalIdMutability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NaturalIdMutability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NaturalIdMutability MUTABLE
public static final NaturalIdMutability IMMUTABLE
public static final NaturalIdMutability NOT_NATURAL_ID
public static NaturalIdMutability[] values()
for (NaturalIdMutability c : NaturalIdMutability.values()) System.out.println(c);
public static NaturalIdMutability 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 © 2016 JBoss by Red Hat. All rights reserved.