Enum Class OShapeType

java.lang.Object
java.lang.Enum<OShapeType>
com.orientechnologies.spatial.shape.OShapeType
All Implemented Interfaces:
Serializable, Comparable<OShapeType>, Constable

public enum OShapeType extends Enum<OShapeType>
Created by Enrico Risa on 06/08/15.
  • Enum Constant Details

    • POINT

      public static final OShapeType POINT
      Enumeration that lists all OShapeTypes that can be handled
    • MULTIPOINT

      public static final OShapeType MULTIPOINT
    • LINESTRING

      public static final OShapeType LINESTRING
    • MULTILINESTRING

      public static final OShapeType MULTILINESTRING
    • POLYGON

      public static final OShapeType POLYGON
    • MULTIPOLYGON

      public static final OShapeType MULTIPOLYGON
    • GEOMETRYCOLLECTION

      public static final OShapeType GEOMETRYCOLLECTION
    • RECTANGLE

      public static final OShapeType RECTANGLE
    • CIRCLE

      public static final OShapeType CIRCLE
  • Field Details

    • shapeName

      protected final String shapeName
  • Method Details

    • values

      public static OShapeType[] 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 OShapeType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OShapeType>