Package be.personify.util
Enum AttributeType
- java.lang.Object
-
- java.lang.Enum<AttributeType>
-
- be.personify.util.AttributeType
-
- All Implemented Interfaces:
Serializable,Comparable<AttributeType>
public enum AttributeType extends Enum<AttributeType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AttributeTypevalueOfIgnoreCase(String s)static AttributeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final AttributeType STRING
-
INTEGER
public static final AttributeType INTEGER
-
BOOLEAN
public static final AttributeType BOOLEAN
-
DATETIME
public static final AttributeType DATETIME
-
PASSWORD
public static final AttributeType PASSWORD
-
MAP
public static final AttributeType MAP
-
LIST
public static final AttributeType LIST
-
-
Method Detail
-
values
public static 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 (AttributeType c : 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 AttributeType 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
-
valueOfIgnoreCase
public static AttributeType valueOfIgnoreCase(String s)
-
-