public enum Relationship extends Enum<Relationship>
| Enum Constant and Description |
|---|
INVOICE
发票
|
| Modifier and Type | Method and Description |
|---|---|
static Relationship |
from(String code) |
static Relationship |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Relationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relationship INVOICE
public static Relationship[] values()
for (Relationship c : Relationship.values()) System.out.println(c);
public static Relationship 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 Relationship from(String code)
Copyright © 2020. All rights reserved.