public enum PropertyNameStyle extends Enum<PropertyNameStyle>
Java class for PropertyNameStyle.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PropertyNameStyle">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="constants"/>
<enumeration value="enums"/>
<enumeration value="none"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CONSTANTS
Use static string constants
|
ENUMS
Use either derived inner-class enumerations or enumerations from an external source
|
NONE
Use the actual property name literal
|
| Modifier and Type | Method and Description |
|---|---|
static PropertyNameStyle |
fromValue(String v) |
String |
value() |
static PropertyNameStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyNameStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyNameStyle CONSTANTS
public static final PropertyNameStyle ENUMS
public static final PropertyNameStyle NONE
public static PropertyNameStyle[] values()
for (PropertyNameStyle c : PropertyNameStyle.values()) System.out.println(c);
public static PropertyNameStyle 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 String value()
public static PropertyNameStyle fromValue(String v)
Copyright © 2017. All rights reserved.