public enum SettingType extends Enum<SettingType>
SettingDefinition and SettingValue.SettingDefinition,
SettingValue| Enum Constant and Description |
|---|
BOOLEAN
Type for
Boolean and boolean. |
CHOICE
Type for a selection.
|
FILE
Type for
File. |
INTEGER
Type for
Integer and int. |
MULTILINGUAL_STRING
Type for
LocalizedString. |
NUMERIC
Type for
Double and double. |
STRING
Type for
String. |
TIMEINSTANT
Type for
DateTime. |
URI
Type for
URI. |
| Modifier and Type | Method and Description |
|---|---|
static SettingType |
fromString(String type) |
String |
toString() |
static String |
toString(SettingType type) |
static SettingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SettingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SettingType BOOLEAN
Boolean and boolean.public static final SettingType INTEGER
Integer and int.public static final SettingType FILE
File.public static final SettingType NUMERIC
Double and double.public static final SettingType STRING
String.public static final SettingType URI
URI.public static final SettingType TIMEINSTANT
DateTime.public static final SettingType MULTILINGUAL_STRING
LocalizedString.public static final SettingType CHOICE
public static SettingType[] values()
for (SettingType c : SettingType.values()) System.out.println(c);
public static SettingType 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 static SettingType fromString(String type)
public static String toString(SettingType type)
public String toString()
toString in class Enum<SettingType>Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.