Enum OtpFormatTO
- java.lang.Object
-
- java.lang.Enum<OtpFormatTO>
-
- de.adorsys.ledgers.middleware.api.domain.sca.OtpFormatTO
-
- All Implemented Interfaces:
Serializable,Comparable<OtpFormatTO>
public enum OtpFormatTO extends Enum<OtpFormatTO>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARACTERSINTEGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OtpFormatTOforValue(String value)static Optional<OtpFormatTO>getByValue(String name)StringgetValue()static OtpFormatTOvalueOf(String name)Returns the enum constant of this type with the specified name.static OtpFormatTO[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARACTERS
public static final OtpFormatTO CHARACTERS
-
INTEGER
public static final OtpFormatTO INTEGER
-
-
Method Detail
-
values
public static OtpFormatTO[] 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 (OtpFormatTO c : OtpFormatTO.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OtpFormatTO 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()
-
getByValue
public static Optional<OtpFormatTO> getByValue(String name)
-
forValue
public static OtpFormatTO forValue(String value)
-
-