public enum PropertyType extends Enum<PropertyType>
| Enum Constant and Description |
|---|
BINARY |
BOOLEAN |
CURRENCY |
DATE |
DIRECTORY_ENTITY |
DOUBLE |
EXTENDED_DATA_TABLE |
GEO_LOCATION |
GEO_SHAPE |
IMAGE |
INTEGER |
STRING |
UNKNOWN |
| Modifier and Type | Field and Description |
|---|---|
static String |
GE_TYPE_GEO_POINT |
static String |
GE_TYPE_GEO_SHAPE |
| Modifier and Type | Method and Description |
|---|---|
static PropertyType |
convert(String property) |
static PropertyType |
convert(String property,
PropertyType defaultValue) |
String |
getText() |
static Class<? extends Value> |
getTypeClass(PropertyType propertyType) |
String |
toString() |
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 DATE
public static final PropertyType STRING
public static final PropertyType GEO_LOCATION
public static final PropertyType GEO_SHAPE
public static final PropertyType IMAGE
public static final PropertyType BINARY
public static final PropertyType CURRENCY
public static final PropertyType DOUBLE
public static final PropertyType BOOLEAN
public static final PropertyType INTEGER
public static final PropertyType DIRECTORY_ENTITY
public static final PropertyType EXTENDED_DATA_TABLE
public static final PropertyType UNKNOWN
public static final String GE_TYPE_GEO_POINT
public static final String GE_TYPE_GEO_SHAPE
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 toString()
toString in class Enum<PropertyType>public String getText()
public static PropertyType convert(String property)
public static PropertyType convert(String property, PropertyType defaultValue)
public static Class<? extends Value> getTypeClass(PropertyType propertyType)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.