java.lang.Object
java.lang.Enum<PropertyType>
ac.simons.neo4j.migrations.core.catalog.PropertyType
All Implemented Interfaces:
Serializable, Comparable<PropertyType>, Constable

public enum PropertyType extends Enum<PropertyType>
Cypher types applicable as property types in constraints. See Constraint Syntax.
Since:
2.5.0
Author:
Michael J. Simons
  • Enum Constant Details

    • BOOLEAN

      public static final PropertyType BOOLEAN
      Constant for boolean properties.
    • STRING

      public static final PropertyType STRING
      Constant for string properties.
    • INTEGER

      public static final PropertyType INTEGER
      Constant for integer or long properties.
    • FLOAT

      public static final PropertyType FLOAT
      Constant for float or double properties.
    • DATE

      public static final PropertyType DATE
      Constant for date properties.
    • LOCAL_TIME

      public static final PropertyType LOCAL_TIME
      Constant for local time properties.
    • ZONED_TIME

      public static final PropertyType ZONED_TIME
      Constant for zoned time properties.
    • LOCAL_DATETIME

      public static final PropertyType LOCAL_DATETIME
      Constant for local datetime properties.
    • ZONED_DATETIME

      public static final PropertyType ZONED_DATETIME
      Constant for zone datetime properties.
    • DURATION

      public static final PropertyType DURATION
      Constant for duration properties.
    • POINT

      public static final PropertyType POINT
      Constant for point properties.
  • Method Details

    • values

      public static PropertyType[] 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

      public static PropertyType valueOf(String name)
      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 name
      NullPointerException - if the argument is null