Enum TypedFeature.FeatureType
- java.lang.Object
-
- java.lang.Enum<TypedFeature.FeatureType>
-
- de.hybris.platform.catalog.jalo.classification.util.TypedFeature.FeatureType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TypedFeature.FeatureType>
- Enclosing class:
- TypedFeature<T>
public static enum TypedFeature.FeatureType extends java.lang.Enum<TypedFeature.FeatureType>
The enum for easier feature type handling.- See Also:
TypedFeature.getFeatureType()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TypedFeature.FeatureTypetoEnum(EnumerationValue enumValue)Converts the actualEnumerationValueinto an enum.EnumerationValuetoEnumValue()Returns the actualEnumerationValuefor this enum.static TypedFeature.FeatureTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TypedFeature.FeatureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final TypedFeature.FeatureType STRING
The STRING feature type.
-
NUMBER
public static final TypedFeature.FeatureType NUMBER
The NUMBER feature type.
-
BOOLEAN
public static final TypedFeature.FeatureType BOOLEAN
The BOOLEAN feature type.
-
ENUM
public static final TypedFeature.FeatureType ENUM
The ENUM feature type.
-
DATE
public static final TypedFeature.FeatureType DATE
The DATE feature type.
-
REFERENCE
public static final TypedFeature.FeatureType REFERENCE
The REFERENCE feature type.
-
-
Method Detail
-
values
public static TypedFeature.FeatureType[] 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 (TypedFeature.FeatureType c : TypedFeature.FeatureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypedFeature.FeatureType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toEnumValue
public EnumerationValue toEnumValue()
Returns the actualEnumerationValuefor this enum.
-
toEnum
public static TypedFeature.FeatureType toEnum(EnumerationValue enumValue)
Converts the actualEnumerationValueinto an enum.
-
-