public enum OShapeType extends Enum<OShapeType>
Enum Constant and Description |
---|
CIRCLE |
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT
Enumeration that lists all
OShapeType s that can be handled |
POLYGON |
RECTANGLE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OShapeType |
valueOf(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
OShapeType
s 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
protected final String shapeName
public static OShapeType[] values()
for (OShapeType c : OShapeType.values()) System.out.println(c);
public static OShapeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<OShapeType>
Copyright © 2009–2020 OrientDB. All rights reserved.