public enum PlatformType extends Enum<PlatformType>
| Enum Constant and Description |
|---|
MOBILE_INSITU |
MOBILE_REMOTE |
STATIONARY_INSITU |
STATIONARY_REMOTE |
| Modifier and Type | Field and Description |
|---|---|
static String |
PLATFORM_TYPE_ALL |
static String |
PLATFORM_TYPE_INSITU |
static String |
PLATFORM_TYPE_MOBILE |
static String |
PLATFORM_TYPE_REMOTE |
static String |
PLATFORM_TYPE_STATIONARY |
| Modifier and Type | Method and Description |
|---|---|
String |
createId(Long id) |
String |
createId(String id) |
static String |
extractId(String id) |
String |
getPlatformType() |
static boolean |
isInsitu(String id) |
static boolean |
isKnownType(String typeName) |
boolean |
isMobile() |
static boolean |
isMobileId(String id) |
static boolean |
isRemoteId(String id) |
boolean |
isStationary() |
static boolean |
isStationaryId(String id) |
static PlatformType |
toInstance(boolean mobile,
boolean insitu) |
static PlatformType |
toInstance(String typeName) |
static PlatformType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformType STATIONARY_INSITU
public static final PlatformType STATIONARY_REMOTE
public static final PlatformType MOBILE_INSITU
public static final PlatformType MOBILE_REMOTE
public static final String PLATFORM_TYPE_MOBILE
public static final String PLATFORM_TYPE_STATIONARY
public static final String PLATFORM_TYPE_INSITU
public static final String PLATFORM_TYPE_REMOTE
public static final String PLATFORM_TYPE_ALL
public static PlatformType[] values()
for (PlatformType c : PlatformType.values()) System.out.println(c);
public static PlatformType 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 getPlatformType()
public boolean isStationary()
public boolean isMobile()
public static boolean isStationaryId(String id)
public static boolean isMobileId(String id)
public static boolean isRemoteId(String id)
public static boolean isInsitu(String id)
public static boolean isKnownType(String typeName)
public static PlatformType toInstance(String typeName)
public static PlatformType toInstance(boolean mobile, boolean insitu)
Copyright © 2013–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.