public enum ReturnType extends Enum<ReturnType>
ServiceMethod annotation to indicate if a
method is expected to return a single item or a collection| Enum Constant and Description |
|---|
COLLECTION |
SINGLE |
| Modifier and Type | Method and Description |
|---|---|
static ReturnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnType SINGLE
public static final ReturnType COLLECTION
public static ReturnType[] values()
public static ReturnType 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 © 2019 Microsoft Corporation. All rights reserved.