public static enum JsonPropertyTrait.Kind extends Enum<JsonPropertyTrait.Kind>
Enum Constant and Description |
---|
FILE_NAME
fields which keep file name.
|
IGNORE
ignored fields.
|
LINE_NUMBER
fields which keep line number.
|
RECORD_NUMBER
fields which keep record number.
|
VALUE
normal fields.
|
Modifier and Type | Method and Description |
---|---|
static JsonPropertyTrait.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonPropertyTrait.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonPropertyTrait.Kind VALUE
public static final JsonPropertyTrait.Kind FILE_NAME
public static final JsonPropertyTrait.Kind LINE_NUMBER
public static final JsonPropertyTrait.Kind RECORD_NUMBER
public static final JsonPropertyTrait.Kind IGNORE
public static JsonPropertyTrait.Kind[] values()
for (JsonPropertyTrait.Kind c : JsonPropertyTrait.Kind.values()) System.out.println(c);
public static JsonPropertyTrait.Kind 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–2019 Asakusa Framework Team. All rights reserved.