public enum MappingType extends Enum<MappingType>
Enum Constant and Description |
---|
CREATETIMESTAMP
Create-timestamp audit column.
|
CREATEUSER
Create-user audit column.
|
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.
|
UPDATETIMESTAMP
Update-timestamp audit column.
|
UPDATEUSER
Update-user audit 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 CREATEUSER
public static final MappingType UPDATEUSER
public static final MappingType CREATETIMESTAMP
public static final MappingType UPDATETIMESTAMP
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 © 2020. All rights reserved.