Package de.adorsys.psd2.model
Enum MessageCode405LTB
- java.lang.Object
-
- java.lang.Enum<MessageCode405LTB>
-
- de.adorsys.psd2.model.MessageCode405LTB
-
- All Implemented Interfaces:
Serializable,Comparable<MessageCode405LTB>
public enum MessageCode405LTB extends Enum<MessageCode405LTB>
Message codes defined for Trusted Beneficiaries for HTTP Error code 405 (METHOD NOT ALLOWED).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageCode405LTBfromValue(String text)StringtoString()static MessageCode405LTBvalueOf(String name)Returns the enum constant of this type with the specified name.static MessageCode405LTB[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID
public static final MessageCode405LTB INVALID
-
-
Method Detail
-
values
public static MessageCode405LTB[] 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 (MessageCode405LTB c : MessageCode405LTB.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageCode405LTB 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<MessageCode405LTB>
-
fromValue
public static MessageCode405LTB fromValue(String text)
-
-