public enum SharedSetErrorReason extends Enum<SharedSetErrorReason>
Java class for SharedSetError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SharedSetError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE"/>
<enumeration value="DUPLICATE_NAME"/>
<enumeration value="MANAGER_CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE"/>
<enumeration value="SHARED_SET_REMOVED"/>
<enumeration value="SHARED_SET_IN_USE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE |
DUPLICATE_NAME |
MANAGER_CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE
Customer Manager is not allowed to create shared set of this type.
|
SHARED_SET_IN_USE |
SHARED_SET_REMOVED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static SharedSetErrorReason |
fromValue(String v) |
String |
value() |
static SharedSetErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharedSetErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharedSetErrorReason CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE
public static final SharedSetErrorReason DUPLICATE_NAME
public static final SharedSetErrorReason MANAGER_CUSTOMER_CANNOT_CREATE_SHARED_SET_OF_THIS_TYPE
public static final SharedSetErrorReason SHARED_SET_REMOVED
public static final SharedSetErrorReason SHARED_SET_IN_USE
public static final SharedSetErrorReason UNKNOWN
public static SharedSetErrorReason[] values()
for (SharedSetErrorReason c : SharedSetErrorReason.values()) System.out.println(c);
public static SharedSetErrorReason 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 String value()
public static SharedSetErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.