public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHARACTER |
DOUBLE |
EMAIL |
FLOAT |
INTEGER |
LONG |
PASSWORD |
PATH |
SHORT |
STRING |
URL |
Modifier and Type | Method and Description |
---|---|
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 STRING
public static final PropertyType LONG
public static final PropertyType INTEGER
public static final PropertyType SHORT
public static final PropertyType CHARACTER
public static final PropertyType BYTE
public static final PropertyType DOUBLE
public static final PropertyType FLOAT
public static final PropertyType BOOLEAN
public static final PropertyType PASSWORD
public static final PropertyType URL
public static final PropertyType EMAIL
public static final PropertyType PATH
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 nullCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.