public enum MappingType extends Enum<MappingType>
| Enum Constant and Description |
|---|
DATASTORE_ID
Datastore id column.
|
DISCRIMINATOR
Discriminator column.
|
EXTERNAL_FK
FK from related class (N side of 1-N).
|
EXTERNAL_FK_DISCRIMINATOR
Shared relation discriminator, from related class (N side of 1-N).
|
EXTERNAL_INDEX
List index from related class.
|
MULTITENANCY
Multitenancy column.
|
SOFTDELETE
Soft-delete flag column.
|
VERSION
(Surrogate) version column
|
| Modifier and Type | Method and Description |
|---|---|
static MappingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MappingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MappingType VERSION
public static final MappingType DATASTORE_ID
public static final MappingType DISCRIMINATOR
public static final MappingType MULTITENANCY
public static final MappingType SOFTDELETE
public static final MappingType EXTERNAL_INDEX
public static final MappingType EXTERNAL_FK
public static final MappingType EXTERNAL_FK_DISCRIMINATOR
public static MappingType[] values()
for (MappingType c : MappingType.values()) System.out.println(c);
public static MappingType 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 © 2019. All rights reserved.