public enum RMGranteeType extends java.lang.Enum<RMGranteeType>
RMPermission
grantee type.Enum Constant and Description |
---|
Group
Grantee is a group.
|
Unknown
Grantee is unknown.
|
User
Grantee is a user.
|
Modifier and Type | Method and Description |
---|---|
static RMGranteeType |
getInstanceFromInt(int intValue)
Provides the
RMGranteeType instance that corresponds to the given
int value. |
int |
getIntValue()
Returns the integer value associated with this member.
|
static RMGranteeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMGranteeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMGranteeType User
public static final RMGranteeType Group
public static final RMGranteeType Unknown
GranteeType
can result from a user or
group that has been removed from the domain's directory service.public static RMGranteeType[] values()
for (RMGranteeType c : RMGranteeType.values()) System.out.println(c);
public static RMGranteeType 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 RMGranteeType getInstanceFromInt(int intValue)
RMGranteeType
instance that corresponds to the given
int
value.intValue
- the int
value to look up.RMGranteeType
value.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.