public enum MultiInstanceType extends java.lang.Enum<MultiInstanceType> implements io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>
Enum Constant and Description |
---|
NONE |
PARALLEL |
SEQUENTIAL |
Modifier and Type | Method and Description |
---|---|
static MultiInstanceType |
fromId(java.lang.String id) |
java.lang.String |
getId() |
static MultiInstanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MultiInstanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiInstanceType NONE
public static final MultiInstanceType PARALLEL
public static final MultiInstanceType SEQUENTIAL
public static MultiInstanceType[] values()
for (MultiInstanceType c : MultiInstanceType.values()) System.out.println(c);
public static MultiInstanceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
getId
in interface io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>
public static MultiInstanceType fromId(java.lang.String id)