public enum PropertyDataType extends Enum<PropertyDataType>
DBPropertyName.getDatatype()
Enum Constant and Description |
---|
BOOLEAN
A boolean representation.
|
DATE
A date representation, without indication on the time
|
DATETIME
A date and time representation
|
DROPDOWN
Type for displaying drop down list
|
FLOAT
A float representation.
|
INTEGER
An integer representation.
|
STRING
A string representation
|
USER
A confluence user representation.
|
Modifier and Type | Method and Description |
---|---|
static PropertyDataType |
from(String name)
Same as valueOf, but handles null and unknown names
|
static PropertyDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyDataType STRING
public static final PropertyDataType INTEGER
public static final PropertyDataType FLOAT
public static final PropertyDataType BOOLEAN
public static final PropertyDataType DATE
public static final PropertyDataType DATETIME
public static final PropertyDataType USER
public static final PropertyDataType DROPDOWN
public static PropertyDataType[] values()
for (PropertyDataType c : PropertyDataType.values()) System.out.println(c);
public static PropertyDataType 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 PropertyDataType from(String name)
Copyright © 2022 Requirement Yogi. All rights reserved.