public enum IdMode extends Enum<IdMode>
主键处理模式
| Enum Constant and Description |
|---|
COLLECTION |
DIRECT |
JOIN_COLLECTION |
JOIN_KEY |
JOIN_MULTI |
| Modifier and Type | Method and Description |
|---|---|
static IdMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdMode DIRECT
public static final IdMode COLLECTION
public static final IdMode JOIN_KEY
public static final IdMode JOIN_MULTI
public static final IdMode JOIN_COLLECTION
public static IdMode[] values()
for (IdMode c : IdMode.values()) System.out.println(c);
public static IdMode 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.