public enum DocType extends java.lang.Enum<DocType>
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAllString()
getAllValues
|
static DocType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocType |
valueOfSafe(java.lang.String name)
valueOfSafe
|
static DocType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocType DR
public static final DocType PS
public static final DocType BL
public static final DocType INVOICE
public static final DocType LC
public static final DocType WC
public static final DocType IC
public static final DocType OC
public static DocType[] values()
for (DocType c : DocType.values()) System.out.println(c);
public static DocType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.lang.String getAllString()
public static DocType valueOfSafe(java.lang.String name)
name
- allowed object is
String