Enum Class PermissionEntry.PermissionType
java.lang.Object
java.lang.Enum<PermissionEntry.PermissionType>
edu.internet2.middleware.grouper.permissions.PermissionEntry.PermissionType
- All Implemented Interfaces:
Serializable
,Comparable<PermissionEntry.PermissionType>
,Constable
- Enclosing interface:
- PermissionEntry
type of permission, either assigned to role, or assigned to role and user combined
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionpermission assigned to rolepermission assigned to role and user combined -
Method Summary
Modifier and TypeMethodDescriptionabstract AttributeAssignType
convert to attribute assign typegetName()
name for javabeanReturns the enum constant of this class with the specified name.valueOfIgnoreCase
(String theString, boolean exceptionOnNull) do a case-insensitive matchingstatic PermissionEntry.PermissionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
role
permission assigned to role -
role_subject
permission assigned to role and user combined
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOfIgnoreCase
public static PermissionEntry.PermissionType valueOfIgnoreCase(String theString, boolean exceptionOnNull) do a case-insensitive matching- Parameters:
theString
-exceptionOnNull
- will not allow null or blank entries- Returns:
- the enum or null or exception if not found
-
getName
name for javabean- Returns:
- the attribute assign type
-
convertToAttributeAssignType
convert to attribute assign type- Returns:
- type
-