public enum PrivilegeXto extends Enum<PrivilegeXto>
Java class for Privilege.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Privilege">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Read"/>
<enumeration value="Modify"/>
<enumeration value="Create"/>
<enumeration value="Delete"/>
<enumeration value="DeleteChildren"/>
<enumeration value="ReadAcl"/>
<enumeration value="ModifyAcl"/>
<enumeration value="All"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL |
CREATE |
DELETE |
DELETE_CHILDREN |
MODIFY |
MODIFY_ACL |
READ |
READ_ACL |
| Modifier and Type | Method and Description |
|---|---|
static PrivilegeXto |
fromValue(String v) |
String |
value() |
static PrivilegeXto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrivilegeXto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrivilegeXto READ
public static final PrivilegeXto MODIFY
public static final PrivilegeXto CREATE
public static final PrivilegeXto DELETE
public static final PrivilegeXto DELETE_CHILDREN
public static final PrivilegeXto READ_ACL
public static final PrivilegeXto MODIFY_ACL
public static final PrivilegeXto ALL
public static PrivilegeXto[] values()
for (PrivilegeXto c : PrivilegeXto.values()) System.out.println(c);
public static PrivilegeXto 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 PrivilegeXto fromValue(String v)
Copyright © 2016 Eclipse Stardust. All Rights Reserved.