Package fi.jubic.easyvalue.processor
Enum PropertyKind
- java.lang.Object
-
- java.lang.Enum<PropertyKind>
-
- fi.jubic.easyvalue.processor.PropertyKind
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyKind>
public enum PropertyKind extends Enum<PropertyKind>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyKindvalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAIN
public static final PropertyKind PLAIN
-
OPTIONAL
public static final PropertyKind OPTIONAL
-
ARRAY
public static final PropertyKind ARRAY
-
OPTIONAL_ARRAY
public static final PropertyKind OPTIONAL_ARRAY
-
LIST
public static final PropertyKind LIST
-
SET
public static final PropertyKind SET
-
MAP
public static final PropertyKind MAP
-
-
Method Detail
-
values
public static PropertyKind[] 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 (PropertyKind c : PropertyKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyKind 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
-
-