public enum ValueType extends Enum<ValueType>
| Enum Constant and Description |
|---|
AGE |
BOOLEAN |
COORDINATE |
DATE |
DATETIME |
EMAIL |
FILE_RESOURCE |
IMAGE |
INTEGER |
INTEGER_NEGATIVE |
INTEGER_POSITIVE |
INTEGER_ZERO_OR_POSITIVE |
LETTER |
LONG_TEXT |
NUMBER |
ORGANISATION_UNIT |
PERCENTAGE |
PHONE_NUMBER |
TEXT |
TIME |
TRACKER_ASSOCIATE |
TRUE_ONLY |
UNIT_INTERVAL |
URL |
USERNAME |
| Modifier and Type | Field and Description |
|---|---|
static Set<ValueType> |
BOOLEAN_TYPES |
static Set<ValueType> |
DATE_TYPES |
static Set<ValueType> |
DECIMAL_TYPES |
static Set<ValueType> |
FILE_TYPES |
static Set<ValueType> |
GEO_TYPES |
static Set<ValueType> |
INTEGER_TYPES |
static Set<ValueType> |
NUMERIC_TYPES |
static Set<ValueType> |
TEXT_TYPES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBoolean() |
boolean |
isDate() |
boolean |
isDecimal() |
boolean |
isFile() |
boolean |
isGeo() |
boolean |
isInteger() |
boolean |
isNumeric() |
boolean |
isOrganisationUnit() |
boolean |
isText() |
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType TEXT
public static final ValueType LONG_TEXT
public static final ValueType LETTER
public static final ValueType PHONE_NUMBER
public static final ValueType EMAIL
public static final ValueType BOOLEAN
public static final ValueType TRUE_ONLY
public static final ValueType DATE
public static final ValueType DATETIME
public static final ValueType TIME
public static final ValueType NUMBER
public static final ValueType UNIT_INTERVAL
public static final ValueType PERCENTAGE
public static final ValueType INTEGER
public static final ValueType INTEGER_POSITIVE
public static final ValueType INTEGER_NEGATIVE
public static final ValueType INTEGER_ZERO_OR_POSITIVE
public static final ValueType TRACKER_ASSOCIATE
public static final ValueType USERNAME
public static final ValueType COORDINATE
public static final ValueType ORGANISATION_UNIT
public static final ValueType AGE
public static final ValueType URL
public static final ValueType FILE_RESOURCE
public static final ValueType IMAGE
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 boolean isInteger()
public boolean isDecimal()
public boolean isBoolean()
public boolean isText()
public boolean isDate()
public boolean isFile()
public boolean isGeo()
public boolean isOrganisationUnit()
public boolean isNumeric()
Copyright © 2019 UiO. All rights reserved.