public enum RMAccessType extends java.lang.Enum<RMAccessType>
RMPermission
instance
represents an allowed or denied set of access rights.Enum Constant and Description |
---|
Allow
Represents an allowed set of access rights.
|
Deny
Represents a denied set of access rights.
|
Modifier and Type | Method and Description |
---|---|
static RMAccessType |
getInstanceFromInt(int intValue)
Provides the
RMAccessType instance that corresponds to the given
int value. |
int |
getIntValue()
Returns the integer value associated with this member.
|
static RMAccessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMAccessType Allow
public static final RMAccessType Deny
public static RMAccessType[] values()
for (RMAccessType c : RMAccessType.values()) System.out.println(c);
public static RMAccessType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
int
value.public static RMAccessType getInstanceFromInt(int intValue)
RMAccessType
instance that corresponds to the given
int
value.intValue
- the int
value to look up.RMAccessType
value or null
if no such value
corresponds to the given intValue
parameter.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.