Enum DomainType.DomainTypeKind
- java.lang.Object
-
- java.lang.Enum<DomainType.DomainTypeKind>
-
- com.blazebit.domain.runtime.model.DomainType.DomainTypeKind
-
- All Implemented Interfaces:
Serializable
,Comparable<DomainType.DomainTypeKind>
- Enclosing interface:
- DomainType
public static enum DomainType.DomainTypeKind extends Enum<DomainType.DomainTypeKind>
The domain type kinds.- Since:
- 1.0.0
- Author:
- Christian Beikov
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASIC
A basic domain type.COLLECTION
A collection domain type.ENTITY
An entity domain type.ENUM
An enum domain type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DomainType.DomainTypeKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static DomainType.DomainTypeKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASIC
public static final DomainType.DomainTypeKind BASIC
A basic domain type.
-
ENUM
public static final DomainType.DomainTypeKind ENUM
An enum domain type.
-
ENTITY
public static final DomainType.DomainTypeKind ENTITY
An entity domain type.
-
COLLECTION
public static final DomainType.DomainTypeKind COLLECTION
A collection domain type.
-
-
Method Detail
-
values
public static DomainType.DomainTypeKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DomainType.DomainTypeKind c : DomainType.DomainTypeKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DomainType.DomainTypeKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-