public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
Boolean |
Byte |
Char |
Character |
Double |
Float |
Integer |
Long |
Password |
Short |
String |
Modifier and Type | Method and Description |
---|---|
static PropertyType |
from(Class<?> javaClass) |
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 Double
public static final PropertyType Float
public static final PropertyType Integer
public static final PropertyType Byte
public static final PropertyType Char
public static final PropertyType Character
public static final PropertyType Boolean
public static final PropertyType Short
public static final PropertyType Password
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 static PropertyType from(Class<?> javaClass)
Copyright © 2006–2024 The Apache Software Foundation. All rights reserved.