
public enum OShapeType extends java.lang.Enum<OShapeType>
| Enum Constant and Description |
|---|
CIRCLE |
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT
Enumeration that lists all
OShapeTypes that can be handled |
POLYGON |
RECTANGLE |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
shapeName |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static OShapeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OShapeType POINT
OShapeTypes that can be handledpublic static final OShapeType MULTIPOINT
public static final OShapeType LINESTRING
public static final OShapeType MULTILINESTRING
public static final OShapeType POLYGON
public static final OShapeType MULTIPOLYGON
public static final OShapeType GEOMETRYCOLLECTION
public static final OShapeType RECTANGLE
public static final OShapeType CIRCLE
public static OShapeType[] values()
for (OShapeType c : OShapeType.values()) System.out.println(c);
public static OShapeType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<OShapeType>Copyright © 2013–2022 OrientDB. All rights reserved.