Enum MetaField.TypeEnum
- java.lang.Object
-
- java.lang.Enum<MetaField.TypeEnum>
-
- org.webswing.server.services.rest.resources.model.MetaField.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MetaField.TypeEnum>
- Enclosing class:
- MetaField
public static enum MetaField.TypeEnum extends Enum<MetaField.TypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEANGENERICNUMBEROBJECTOBJECTLISTOBJECTLISTASTABLEOBJECTMAPSTRINGSTRINGLISTSTRINGMAP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetaField.TypeEnumfromValue(String value)StringtoString()Stringvalue()static MetaField.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MetaField.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final MetaField.TypeEnum STRING
-
NUMBER
public static final MetaField.TypeEnum NUMBER
-
BOOLEAN
public static final MetaField.TypeEnum BOOLEAN
-
OBJECT
public static final MetaField.TypeEnum OBJECT
-
STRINGLIST
public static final MetaField.TypeEnum STRINGLIST
-
STRINGMAP
public static final MetaField.TypeEnum STRINGMAP
-
OBJECTLIST
public static final MetaField.TypeEnum OBJECTLIST
-
OBJECTLISTASTABLE
public static final MetaField.TypeEnum OBJECTLISTASTABLE
-
OBJECTMAP
public static final MetaField.TypeEnum OBJECTMAP
-
GENERIC
public static final MetaField.TypeEnum GENERIC
-
-
Method Detail
-
values
public static MetaField.TypeEnum[] 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 (MetaField.TypeEnum c : MetaField.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MetaField.TypeEnum 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
-
value
public String value()
-
toString
public String toString()
- Overrides:
toStringin classEnum<MetaField.TypeEnum>
-
fromValue
public static MetaField.TypeEnum fromValue(String value)
-
-