Package org.n52.io.response
Enum GeometryType
- java.lang.Object
-
- java.lang.Enum<GeometryType>
-
- org.n52.io.response.GeometryType
-
- All Implemented Interfaces:
Serializable,Comparable<GeometryType>
public enum GeometryType extends Enum<GeometryType>
TODO: JavaDoc
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OBSERVED_DYNAMICOBSERVED_STATICPLATFORM_SITEPLATFORM_TRACK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateId(String id)static StringextractId(String id)StringgetGeometryType()static booleanisDynamicId(String id)static booleanisKnownType(String typeName)static booleanisObservedGeometryId(String id)static booleanisPlatformGeometryId(String id)static booleanisSiteId(String id)static booleanisStaticId(String id)static booleanisTrackId(String id)static GeometryTypetoInstance(String id)static GeometryTypevalueOf(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
-
PLATFORM_SITE
public static final GeometryType PLATFORM_SITE
-
PLATFORM_TRACK
public static final GeometryType PLATFORM_TRACK
-
OBSERVED_STATIC
public static final GeometryType OBSERVED_STATIC
-
OBSERVED_DYNAMIC
public static final GeometryType OBSERVED_DYNAMIC
-
-
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(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
-
getGeometryType
public String getGeometryType()
-
isPlatformGeometryId
public static boolean isPlatformGeometryId(String id)
-
isObservedGeometryId
public static boolean isObservedGeometryId(String id)
-
isSiteId
public static boolean isSiteId(String id)
-
isTrackId
public static boolean isTrackId(String id)
-
isStaticId
public static boolean isStaticId(String id)
-
isDynamicId
public static boolean isDynamicId(String id)
-
isKnownType
public static boolean isKnownType(String typeName)
-
toInstance
public static GeometryType toInstance(String id)
-
-