public enum DomainType extends Enum<DomainType>
Enum Constant and Description |
---|
REGULAR
Enum value Regular.
|
SOFT_DELETED
Enum value SoftDeleted.
|
Modifier and Type | Method and Description |
---|---|
static DomainType |
fromString(String value)
Parses a serialized value to a DomainType instance.
|
String |
toString() |
static DomainType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DomainType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DomainType REGULAR
public static final DomainType SOFT_DELETED
public static DomainType[] values()
for (DomainType c : DomainType.values()) System.out.println(c);
public static DomainType 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 nullpublic static DomainType fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<DomainType>
Copyright © 2019. All rights reserved.