Enum Class DefaultAttributeChoiceType
java.lang.Object
java.lang.Enum<DefaultAttributeChoiceType>
com.broadleafcommerce.catalog.domain.product.option.type.DefaultAttributeChoiceType
- All Implemented Interfaces:
Serializable
,Comparable<DefaultAttributeChoiceType>
,Constable
A DefaultAttributeChoiceType defines what kind of information or allowed values a ProductOption represents. This can be a specific kind of data: Integer, decimal, text, color. Or it can be something more complex pertaining to how the information is displayed or selected: Text area, input, select.
This class defines several types supported by default.
- Author:
- Nathan Moore (nathanmoore)., Phillip Verheyden (phillipuniverse)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultAttributeChoiceType
Returns the enum constant of this class with the specified name.static DefaultAttributeChoiceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COLOR
-
SIZE
-
BOOLEAN
-
TEXT
-
DATE
-
TEXT_AREA
-
DECIMAL
-
INTEGER
-
SELECT
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-