public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
FIELD
A property that represents a
Field |
GENERIC
A property obtained from a
ValueReader |
METHOD
A property that represents a
Method |
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 FIELD
Field
public static final PropertyType METHOD
Method
public static final PropertyType GENERIC
ValueReader
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 © 2011–2024. All rights reserved.