public static enum IdentifierSource.Nature extends Enum<IdentifierSource.Nature>
Enum Constant and Description |
---|
AGGREGATED_COMPOSITE
Composite identifier with an actual component class used to aggregate the individual attributes
|
COMPOSITE
What we used to term an "embedded composite identifier", which is not to be confused with the JPA
term embedded.
|
SIMPLE
A single, simple identifier.
|
Modifier and Type | Method and Description |
---|---|
static IdentifierSource.Nature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentifierSource.Nature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentifierSource.Nature SIMPLE
<id/>
mapping or a single @Id
annotation. Indicates the IdentifierSource
is castable to SimpleIdentifierSource
.public static final IdentifierSource.Nature COMPOSITE
@IdClass
.public static final IdentifierSource.Nature AGGREGATED_COMPOSITE
public static IdentifierSource.Nature[] values()
for (IdentifierSource.Nature c : IdentifierSource.Nature.values()) System.out.println(c);
public static IdentifierSource.Nature 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 © 2001-2015 Red Hat, Inc. All Rights Reserved.