Serializable
, Comparable<AutoDetectPolicy>
public enum AutoDetectPolicy extends Enum<AutoDetectPolicy>
AutoProperty
.Enum Constant | Description |
---|---|
FIELD |
Auto-detect fields of the class as properties
|
METHOD |
Auto-detect accessor methods of the class as properties using the JavaBean conventions
(i.e.
|
NONE |
Do not auto-detect properties for the class.
|
Modifier and Type | Method | Description |
---|---|---|
static AutoDetectPolicy |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AutoDetectPolicy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoDetectPolicy FIELD
public static final AutoDetectPolicy METHOD
public static final AutoDetectPolicy NONE
PojomaticPolicy
in AutoProperty
without enabling
property auto-detection.public static AutoDetectPolicy[] values()
for (AutoDetectPolicy c : AutoDetectPolicy.values()) System.out.println(c);
public static AutoDetectPolicy 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 © 2008–2018. All rights reserved.