public enum SettingType extends java.lang.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(java.lang.String type) |
java.lang.String |
toString() |
static java.lang.String |
toString(SettingType type) |
static SettingType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static SettingType fromString(java.lang.String type)
public static java.lang.String toString(SettingType type)
public java.lang.String toString()
toString in class java.lang.Enum<SettingType>Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.