Package com.graphdbapi
Enum PropertyType.PrimitiveDataType
- java.lang.Object
-
- java.lang.Enum<PropertyType.PrimitiveDataType>
-
- com.graphdbapi.PropertyType.PrimitiveDataType
-
- All Implemented Interfaces:
Serializable
,Comparable<PropertyType.PrimitiveDataType>
- Enclosing class:
- PropertyType
public static enum PropertyType.PrimitiveDataType extends Enum<PropertyType.PrimitiveDataType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyType.PrimitiveDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropertyType.PrimitiveDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INT
public static final PropertyType.PrimitiveDataType INT
-
LONG
public static final PropertyType.PrimitiveDataType LONG
-
DOUBLE
public static final PropertyType.PrimitiveDataType DOUBLE
-
STRING
public static final PropertyType.PrimitiveDataType STRING
-
BOOLEAN
public static final PropertyType.PrimitiveDataType BOOLEAN
-
DATETIME
public static final PropertyType.PrimitiveDataType DATETIME
-
LIST
public static final PropertyType.PrimitiveDataType LIST
-
SET
public static final PropertyType.PrimitiveDataType SET
-
-
Method Detail
-
values
public static PropertyType.PrimitiveDataType[] 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 (PropertyType.PrimitiveDataType c : PropertyType.PrimitiveDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyType.PrimitiveDataType 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
-
-