Enum GeometryType
- java.lang.Object
-
- java.lang.Enum<GeometryType>
-
- org.citydb.database.schema.mapping.GeometryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeometryType>
public enum GeometryType extends java.lang.Enum<GeometryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSTRACT_GEOMETRY
ABSTRACT_SOLID
ABSTRACT_SURFACE
ENVELOPE
GEOMETRIC_COMPLEX
MULTI_CURVE
MULTI_POINT
MULTI_SOLID
MULTI_SURFACE
POINT
POLYGON
TRIANGULATED_SURFACE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeometryType
fromValue(java.lang.String v)
javax.xml.namespace.QName
getElementName()
java.lang.Class<? extends org.citygml4j.model.gml.GML>
getGeometryClass()
java.lang.String
value()
static GeometryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeometryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSTRACT_GEOMETRY
public static final GeometryType ABSTRACT_GEOMETRY
-
ENVELOPE
public static final GeometryType ENVELOPE
-
POINT
public static final GeometryType POINT
-
ABSTRACT_SURFACE
public static final GeometryType ABSTRACT_SURFACE
-
POLYGON
public static final GeometryType POLYGON
-
TRIANGULATED_SURFACE
public static final GeometryType TRIANGULATED_SURFACE
-
ABSTRACT_SOLID
public static final GeometryType ABSTRACT_SOLID
-
GEOMETRIC_COMPLEX
public static final GeometryType GEOMETRIC_COMPLEX
-
MULTI_POINT
public static final GeometryType MULTI_POINT
-
MULTI_CURVE
public static final GeometryType MULTI_CURVE
-
MULTI_SURFACE
public static final GeometryType MULTI_SURFACE
-
MULTI_SOLID
public static final GeometryType MULTI_SOLID
-
-
Method Detail
-
values
public static GeometryType[] 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 (GeometryType c : GeometryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeometryType 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
-
value
public java.lang.String value()
-
getGeometryClass
public java.lang.Class<? extends org.citygml4j.model.gml.GML> getGeometryClass()
-
getElementName
public javax.xml.namespace.QName getElementName()
-
fromValue
public static GeometryType fromValue(java.lang.String v)
-
-