Enum DataAttribute.AttributeType
- java.lang.Object
-
- java.lang.Enum<DataAttribute.AttributeType>
-
- com.hybris.cockpitng.dataaccess.facades.type.DataAttribute.AttributeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DataAttribute.AttributeType>
- Enclosing class:
- DataAttribute
public static enum DataAttribute.AttributeType extends java.lang.Enum<DataAttribute.AttributeType>
Enumeration for the different types of attributes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataAttribute.AttributeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DataAttribute.AttributeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final DataAttribute.AttributeType SINGLE
-
COLLECTION
public static final DataAttribute.AttributeType COLLECTION
-
LIST
public static final DataAttribute.AttributeType LIST
-
SET
public static final DataAttribute.AttributeType SET
-
MAP
public static final DataAttribute.AttributeType MAP
-
RANGE
public static final DataAttribute.AttributeType RANGE
-
-
Method Detail
-
values
public static DataAttribute.AttributeType[] 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 (DataAttribute.AttributeType c : DataAttribute.AttributeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataAttribute.AttributeType 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
-
-