Enum PropertyTypeName.BaseType
- java.lang.Object
-
- java.lang.Enum<PropertyTypeName.BaseType>
-
- org.gcube.informationsystem.types.PropertyTypeName.BaseType
-
- All Implemented Interfaces:
Serializable,Comparable<PropertyTypeName.BaseType>
- Enclosing class:
- PropertyTypeName
public static enum PropertyTypeName.BaseType extends Enum<PropertyTypeName.BaseType>
-
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,PropertyTypeName.BaseType>map
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyTypeName.BaseTypegetBaseTypeFromString(String type)StringtoString()static PropertyTypeName.BaseTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyTypeName.BaseType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final PropertyTypeName.BaseType ANY
-
BOOLEAN
public static final PropertyTypeName.BaseType BOOLEAN
-
INTEGER
public static final PropertyTypeName.BaseType INTEGER
-
SHORT
public static final PropertyTypeName.BaseType SHORT
-
LONG
public static final PropertyTypeName.BaseType LONG
-
FLOAT
public static final PropertyTypeName.BaseType FLOAT
-
DOUBLE
public static final PropertyTypeName.BaseType DOUBLE
-
DATE
public static final PropertyTypeName.BaseType DATE
-
STRING
public static final PropertyTypeName.BaseType STRING
-
BINARY
public static final PropertyTypeName.BaseType BINARY
-
BYTE
public static final PropertyTypeName.BaseType BYTE
-
JSON_OBJECT
public static final PropertyTypeName.BaseType JSON_OBJECT
-
JSON_ARRAY
public static final PropertyTypeName.BaseType JSON_ARRAY
-
PROPERTY
public static final PropertyTypeName.BaseType PROPERTY
-
LIST
public static final PropertyTypeName.BaseType LIST
-
SET
public static final PropertyTypeName.BaseType SET
-
MAP
public static final PropertyTypeName.BaseType MAP
-
-
Field Detail
-
map
protected static final Map<String,PropertyTypeName.BaseType> map
-
-
Method Detail
-
values
public static PropertyTypeName.BaseType[] 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 (PropertyTypeName.BaseType c : PropertyTypeName.BaseType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyTypeName.BaseType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<PropertyTypeName.BaseType>
-
getBaseTypeFromString
public static PropertyTypeName.BaseType getBaseTypeFromString(String type)
-
-