Enum GeometryTypeName
- java.lang.Object
-
- java.lang.Enum<GeometryTypeName>
-
- org.citygml4j.binding.cityjson.geometry.GeometryTypeName
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeometryTypeName>
public enum GeometryTypeName extends java.lang.Enum<GeometryTypeName>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPOSITE_SOLID
COMPOSITE_SURFACE
GEOMETRY_INSTANCE
MULTI_LINE_STRING
MULTI_POINT
MULTI_SOLID
MULTI_SURFACE
SOLID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeometryTypeName
fromValue(java.lang.String value)
java.lang.Class<? extends AbstractGeometryType>
getTypeClass()
java.lang.String
getValue()
java.lang.String
toString()
static GeometryTypeName
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeometryTypeName[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MULTI_POINT
@SerializedName("MultiPoint") public static final GeometryTypeName MULTI_POINT
-
MULTI_LINE_STRING
@SerializedName("MultiLineString") public static final GeometryTypeName MULTI_LINE_STRING
-
MULTI_SURFACE
@SerializedName("MultiSurface") public static final GeometryTypeName MULTI_SURFACE
-
COMPOSITE_SURFACE
@SerializedName("CompositeSurface") public static final GeometryTypeName COMPOSITE_SURFACE
-
SOLID
@SerializedName("Solid") public static final GeometryTypeName SOLID
-
MULTI_SOLID
@SerializedName("MultiSolid") public static final GeometryTypeName MULTI_SOLID
-
COMPOSITE_SOLID
@SerializedName("CompositeSolid") public static final GeometryTypeName COMPOSITE_SOLID
-
GEOMETRY_INSTANCE
@SerializedName("GeometryInstance") public static final GeometryTypeName GEOMETRY_INSTANCE
-
-
Method Detail
-
values
public static GeometryTypeName[] 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 (GeometryTypeName c : GeometryTypeName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeometryTypeName valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
-
getTypeClass
public java.lang.Class<? extends AbstractGeometryType> getTypeClass()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<GeometryTypeName>
-
fromValue
public static GeometryTypeName fromValue(java.lang.String value)
-
-