public enum AccessReason extends Enum<AccessReason>
Java class for AccessReason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AccessReason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="OWNED"/>
<enumeration value="SHARED"/>
<enumeration value="LICENSED"/>
<enumeration value="SUBSCRIBED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LICENSED
The entity is licensed to the user.
|
OWNED
The entity is owned by the user.
|
SHARED
The entity is shared to the user.
|
SUBSCRIBED
The user subscribed to the entity.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessReason |
fromValue(String v) |
String |
value() |
static AccessReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessReason OWNED
public static final AccessReason SHARED
public static final AccessReason LICENSED
public static final AccessReason SUBSCRIBED
public static AccessReason[] values()
for (AccessReason c : AccessReason.values()) System.out.println(c);
public static AccessReason 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 AccessReason fromValue(String v)
Copyright © 2023. All rights reserved.