Enum Class PropertyType
- All Implemented Interfaces:
Serializable
,Comparable<PropertyType>
,Constable
Cypher types applicable as property types in constraints.
See Constraint Syntax.
- Since:
- 2.5.0
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionConstant for boolean properties.Constant for date properties.Constant for duration properties.Constant for float or double properties.Constant for integer or long properties.Constant for local datetime properties.Constant for local time properties.Constant for point properties.Constant for string properties.Constant for zone datetime properties.Constant for zoned time properties. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyType
Returns the enum constant of this class with the specified name.static PropertyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Constant for boolean properties. -
STRING
Constant for string properties. -
INTEGER
Constant for integer or long properties. -
FLOAT
Constant for float or double properties. -
DATE
Constant for date properties. -
LOCAL_TIME
Constant for local time properties. -
ZONED_TIME
Constant for zoned time properties. -
LOCAL_DATETIME
Constant for local datetime properties. -
ZONED_DATETIME
Constant for zone datetime properties. -
DURATION
Constant for duration properties. -
POINT
Constant for point properties.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-