public enum TeamAccessType extends Enum<TeamAccessType>
Java class for TeamAccessType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TeamAccessType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NONE"/>
<enumeration value="READ_ONLY"/>
<enumeration value="READ_WRITE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NONE
The level of access in which team members cannot view or edit a team's
orders.
|
READ_ONLY
The level of access in which team members can only view a team's orders.
|
READ_WRITE
The level of access in which team members can view and edit a team's
orders.
|
| Modifier and Type | Method and Description |
|---|---|
static TeamAccessType |
fromValue(String v) |
String |
value() |
static TeamAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TeamAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TeamAccessType NONE
public static final TeamAccessType READ_ONLY
public static final TeamAccessType READ_WRITE
public static TeamAccessType[] values()
for (TeamAccessType c : TeamAccessType.values()) System.out.println(c);
public static TeamAccessType 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 TeamAccessType fromValue(String v)
Copyright © 2018. All Rights Reserved.