Package org.bonitasoft.web.client.model
Enum MessageMessageContent.TypeEnum
- java.lang.Object
-
- java.lang.Enum<MessageMessageContent.TypeEnum>
-
- org.bonitasoft.web.client.model.MessageMessageContent.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MessageMessageContent.TypeEnum>
- Enclosing class:
- MessageMessageContent
public static enum MessageMessageContent.TypeEnum extends Enum<MessageMessageContent.TypeEnum>
Date types must be in the ISO-8601 format. When not set, the type is guessed using the value. Be careful as it can lead to type inconsistency in the target process (eg: a java.lang.Long is expected and the guessed type is a java.lang.Integer)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LANG_BOOLEANLANG_DOUBLELANG_FLOATLANG_INTEGERLANG_LONGLANG_STRINGTIME_LOCALDATETIME_LOCALDATETIMETIME_OFFSETDATETIMEUTIL_DATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageMessageContent.TypeEnumfromValue(String value)StringgetValue()StringtoString()static MessageMessageContent.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MessageMessageContent.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LANG_STRING
public static final MessageMessageContent.TypeEnum LANG_STRING
-
LANG_BOOLEAN
public static final MessageMessageContent.TypeEnum LANG_BOOLEAN
-
LANG_INTEGER
public static final MessageMessageContent.TypeEnum LANG_INTEGER
-
LANG_DOUBLE
public static final MessageMessageContent.TypeEnum LANG_DOUBLE
-
LANG_FLOAT
public static final MessageMessageContent.TypeEnum LANG_FLOAT
-
LANG_LONG
public static final MessageMessageContent.TypeEnum LANG_LONG
-
UTIL_DATE
public static final MessageMessageContent.TypeEnum UTIL_DATE
-
TIME_LOCALDATE
public static final MessageMessageContent.TypeEnum TIME_LOCALDATE
-
TIME_LOCALDATETIME
public static final MessageMessageContent.TypeEnum TIME_LOCALDATETIME
-
TIME_OFFSETDATETIME
public static final MessageMessageContent.TypeEnum TIME_OFFSETDATETIME
-
-
Method Detail
-
values
public static MessageMessageContent.TypeEnum[] 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 (MessageMessageContent.TypeEnum c : MessageMessageContent.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageMessageContent.TypeEnum 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()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MessageMessageContent.TypeEnum>
-
fromValue
public static MessageMessageContent.TypeEnum fromValue(String value)
-
-