Package com.docusign.webforms.model
Enum WebFormComponentType
- java.lang.Object
-
- java.lang.Enum<WebFormComponentType>
-
- com.docusign.webforms.model.WebFormComponentType
-
- All Implemented Interfaces:
Serializable,Comparable<WebFormComponentType>
public enum WebFormComponentType extends Enum<WebFormComponentType>
Type of components used in the web form
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKBOXGROUPDATEEMAILFILEINPUTNUMBERRADIOBUTTONGROUPSELECTTEXTBOX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebFormComponentTypefromValue(String value)StringgetValue()StringtoString()static WebFormComponentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WebFormComponentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHECKBOXGROUP
public static final WebFormComponentType CHECKBOXGROUP
-
DATE
public static final WebFormComponentType DATE
-
EMAIL
public static final WebFormComponentType EMAIL
-
NUMBER
public static final WebFormComponentType NUMBER
-
RADIOBUTTONGROUP
public static final WebFormComponentType RADIOBUTTONGROUP
-
SELECT
public static final WebFormComponentType SELECT
-
TEXTBOX
public static final WebFormComponentType TEXTBOX
-
FILEINPUT
public static final WebFormComponentType FILEINPUT
-
-
Method Detail
-
values
public static WebFormComponentType[] 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 (WebFormComponentType c : WebFormComponentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WebFormComponentType 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<WebFormComponentType>
-
fromValue
public static WebFormComponentType fromValue(String value)
-
-