Enum Class TypedFeature.FeatureType
java.lang.Object
java.lang.Enum<TypedFeature.FeatureType>
de.hybris.platform.catalog.jalo.classification.util.TypedFeature.FeatureType
- All Implemented Interfaces:
Serializable,Comparable<TypedFeature.FeatureType>,Constable
- Enclosing class:
- TypedFeature<T>
The enum for easier feature type handling.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TypedFeature.FeatureTypetoEnum(EnumerationValue enumValue) Converts the actualEnumerationValueinto an enum.Returns the actualEnumerationValuefor this enum.static TypedFeature.FeatureTypeReturns the enum constant of this class with the specified name.static TypedFeature.FeatureType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING
The STRING feature type. -
NUMBER
The NUMBER feature type. -
BOOLEAN
The BOOLEAN feature type. -
ENUM
The ENUM feature type. -
DATE
The DATE feature type. -
REFERENCE
The REFERENCE feature type.
-
-
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
-
toEnumValue
Returns the actualEnumerationValuefor this enum. -
toEnum
Converts the actualEnumerationValueinto an enum.
-