public enum PropertyType extends Enum<PropertyType>
| Enum Constant and Description |
|---|
BOOLEAN |
CHOICE |
COLLECTION |
FLOAT |
HTML |
INTEGER |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
fromJson(String text) |
String |
toJson() |
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType HTML
public static final PropertyType CHOICE
public static final PropertyType BOOLEAN
public static final PropertyType INTEGER
public static final PropertyType TEXT
public static final PropertyType COLLECTION
public static final PropertyType FLOAT
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType 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 toJson()
public static PropertyType fromJson(String text)
Copyright © 2020. All rights reserved.