Enum Class Geometry

java.lang.Object
java.lang.Enum<Geometry>
org.fiware.mintaka.domain.query.geo.Geometry
All Implemented Interfaces:
Serializable, Comparable<Geometry>, Constable

public enum Geometry extends Enum<Geometry>
Enum for geometries according to the ngsi-ld api
  • Enum Constant Details

    • POINT

      public static final Geometry POINT
    • LINESTRING

      public static final Geometry LINESTRING
    • MULTILINESTRING

      public static final Geometry MULTILINESTRING
    • POLYGON

      public static final Geometry POLYGON
    • MULTIPOLYGON

      public static final Geometry MULTIPOLYGON
  • Method Details

    • values

      public static Geometry[] 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 Geometry 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
    • byName

      public static Geometry byName(String value)
    • getValue

      public String getValue()
    • getDbFieldName

      public String getDbFieldName()