Package io.tesler.sqlbc.dto
Enum MomentOperations
- java.lang.Object
-
- java.lang.Enum<MomentOperations>
-
- io.tesler.sqlbc.dto.MomentOperations
-
- All Implemented Interfaces:
Serializable
,Comparable<MomentOperations>
public enum MomentOperations extends Enum<MomentOperations>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static MomentOperations
of(String stringValue)
static MomentOperations
valueOf(String name)
Returns the enum constant of this type with the specified name.static MomentOperations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final MomentOperations ADD
-
SUBTRACT
public static final MomentOperations SUBTRACT
-
START_OF
public static final MomentOperations START_OF
-
END_OF
public static final MomentOperations END_OF
-
-
Method Detail
-
values
public static MomentOperations[] 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 (MomentOperations c : MomentOperations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MomentOperations 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
-
getValue
public String getValue()
-
of
public static MomentOperations of(String stringValue)
-
-