Package io.mangoo.enums
Enum Binding
- java.lang.Object
-
- java.lang.Enum<Binding>
-
- io.mangoo.enums.Binding
-
- All Implemented Interfaces:
Serializable,Comparable<Binding>
public enum Binding extends Enum<Binding>
- Author:
- svenkubiak
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATIONDOUBLEDOUBLE_PRIMITIVEFLASHFLOATFLOAT_PRIMITIVEFORMINT_PRIMITIVEINTEGERLOCALDATELOCALDATETIMELONGLONG_PRIMITIVEMESSAGESOPTIONALREQUESTSESSIONSTRINGUNDEFINED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BindingfromString(String value)StringtoString()static BindingvalueOf(String name)Returns the enum constant of this type with the specified name.static Binding[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHENTICATION
public static final Binding AUTHENTICATION
-
DOUBLE
public static final Binding DOUBLE
-
DOUBLE_PRIMITIVE
public static final Binding DOUBLE_PRIMITIVE
-
FLASH
public static final Binding FLASH
-
FLOAT
public static final Binding FLOAT
-
FLOAT_PRIMITIVE
public static final Binding FLOAT_PRIMITIVE
-
FORM
public static final Binding FORM
-
INT_PRIMITIVE
public static final Binding INT_PRIMITIVE
-
INTEGER
public static final Binding INTEGER
-
LOCALDATE
public static final Binding LOCALDATE
-
LOCALDATETIME
public static final Binding LOCALDATETIME
-
LONG
public static final Binding LONG
-
LONG_PRIMITIVE
public static final Binding LONG_PRIMITIVE
-
MESSAGES
public static final Binding MESSAGES
-
OPTIONAL
public static final Binding OPTIONAL
-
REQUEST
public static final Binding REQUEST
-
SESSION
public static final Binding SESSION
-
STRING
public static final Binding STRING
-
UNDEFINED
public static final Binding UNDEFINED
-
-
Method Detail
-
values
public static Binding[] 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 (Binding c : Binding.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Binding 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
-
-