com.novell.db.object.bean
Enum UserGroupPermissionBean.ValueType
java.lang.Object
java.lang.Enum<UserGroupPermissionBean.ValueType>
com.novell.db.object.bean.UserGroupPermissionBean.ValueType
- All Implemented Interfaces:
- Serializable, Comparable<UserGroupPermissionBean.ValueType>
- Enclosing class:
- UserGroupPermissionBean
public static enum UserGroupPermissionBean.ValueType
- extends Enum<UserGroupPermissionBean.ValueType>
An enumerated type representing values for the field 'value
'.
- See Also:
UserGroupPermissionBean.PERM_VALUE
_INVALID_
public static final UserGroupPermissionBean.ValueType _INVALID_
DENY
public static final UserGroupPermissionBean.ValueType DENY
GRANT
public static final UserGroupPermissionBean.ValueType GRANT
values
public static UserGroupPermissionBean.ValueType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (UserGroupPermissionBean.ValueType c : UserGroupPermissionBean.ValueType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UserGroupPermissionBean.ValueType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
toValue
public String toValue()
fromValue
public static UserGroupPermissionBean.ValueType fromValue(String value)