Package com.boldsign.model
Enum DocumentFormFields.ValidationtypeEnum
- java.lang.Object
-
- java.lang.Enum<DocumentFormFields.ValidationtypeEnum>
-
- com.boldsign.model.DocumentFormFields.ValidationtypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentFormFields.ValidationtypeEnum>
- Enclosing class:
- DocumentFormFields
public static enum DocumentFormFields.ValidationtypeEnum extends Enum<DocumentFormFields.ValidationtypeEnum>
Gets or Sets validationtype
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentFormFields.ValidationtypeEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENCYCUSTOM_REGEXEMAIL_ADDRESSNONENUMBERS_ONLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentFormFields.ValidationtypeEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static DocumentFormFields.ValidationtypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentFormFields.ValidationtypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DocumentFormFields.ValidationtypeEnum NONE
-
NUMBERS_ONLY
public static final DocumentFormFields.ValidationtypeEnum NUMBERS_ONLY
-
EMAIL_ADDRESS
public static final DocumentFormFields.ValidationtypeEnum EMAIL_ADDRESS
-
CURRENCY
public static final DocumentFormFields.ValidationtypeEnum CURRENCY
-
CUSTOM_REGEX
public static final DocumentFormFields.ValidationtypeEnum CUSTOM_REGEX
-
-
Method Detail
-
values
public static DocumentFormFields.ValidationtypeEnum[] 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 (DocumentFormFields.ValidationtypeEnum c : DocumentFormFields.ValidationtypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentFormFields.ValidationtypeEnum 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<DocumentFormFields.ValidationtypeEnum>
-
fromValue
public static DocumentFormFields.ValidationtypeEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-