Enum TMGeometryType
- java.lang.Object
-
- java.lang.Enum<TMGeometryType>
-
- nl.b3p.tailormap.api.persistence.json.TMGeometryType
-
- All Implemented Interfaces:
Serializable,Comparable<TMGeometryType>
@Generated("org.openapitools.codegen.languages.SpringCodegen") public enum TMGeometryType extends Enum<TMGeometryType>Gets or Sets TMGeometryType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GEOMETRYGEOMETRY_COLLECTIONLINESTRINGMULTILINESTRINGMULTIPOINTMULTIPOLYGONPOINTPOLYGON
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TMGeometryTypefromValue(String value)StringgetValue()StringtoString()static TMGeometryTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TMGeometryType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GEOMETRY
public static final TMGeometryType GEOMETRY
-
GEOMETRY_COLLECTION
public static final TMGeometryType GEOMETRY_COLLECTION
-
MULTIPOLYGON
public static final TMGeometryType MULTIPOLYGON
-
POLYGON
public static final TMGeometryType POLYGON
-
MULTILINESTRING
public static final TMGeometryType MULTILINESTRING
-
LINESTRING
public static final TMGeometryType LINESTRING
-
MULTIPOINT
public static final TMGeometryType MULTIPOINT
-
POINT
public static final TMGeometryType POINT
-
-
Method Detail
-
values
public static TMGeometryType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TMGeometryType c : TMGeometryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TMGeometryType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<TMGeometryType>
-
fromValue
public static TMGeometryType fromValue(String value)
-
-