public enum SalesDocumentScope extends Enum<SalesDocumentScope>
Enum Constant and Description |
---|
RETURN_ALL |
RETURN_BASED_ON_CUSTOMER_ID |
RETURN_BASED_ON_SALESPERSON_ID |
Modifier and Type | Method and Description |
---|---|
static SalesDocumentScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SalesDocumentScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SalesDocumentScope RETURN_ALL
public static final SalesDocumentScope RETURN_BASED_ON_CUSTOMER_ID
public static final SalesDocumentScope RETURN_BASED_ON_SALESPERSON_ID
public static SalesDocumentScope[] values()
for (SalesDocumentScope c : SalesDocumentScope.values()) System.out.println(c);
public static SalesDocumentScope 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 © 2010–2016. All rights reserved.