public enum Properties extends Enum<Properties>
| Enum Constant and Description |
|---|
BOOLEAN
|
DATE
|
DOUBLE
|
FLOAT
|
INTEGER
|
LIST
|
LONG
|
SHORT
|
STRING
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getPropertyClass() |
Class<?> |
getPropertyValueClass() |
static Properties |
resolveByName(String name)
Resolve property type by name.
|
static Properties |
resolveByPropertyClass(Class<? extends Property<?>> aPropertyClass)
Resolve property type by property class.
|
static Properties |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Properties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Properties STRING
public static final Properties BOOLEAN
public static final Properties SHORT
public static final Properties INTEGER
public static final Properties LONG
public static final Properties FLOAT
public static final Properties DOUBLE
public static final Properties DATE
public static final Properties LIST
public static Properties[] values()
for (Properties c : Properties.values()) System.out.println(c);
public static Properties 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 Class<?> getPropertyClass()
public Class<?> getPropertyValueClass()
public static Properties resolveByName(String name)
name - property namepublic static Properties resolveByPropertyClass(Class<? extends Property<?>> aPropertyClass)
aPropertyClass - property classCopyright © 2013–2019 BB Corp. All rights reserved.