
Package org.hl7.fhir.r5.model
Enum Class Permission.PermissionRuleCombining
java.lang.Object
java.lang.Enum<Permission.PermissionRuleCombining>
org.hl7.fhir.r5.model.Permission.PermissionRuleCombining
- All Implemented Interfaces:
Serializable
,Comparable<Permission.PermissionRuleCombining>
,Constable
- Enclosing class:
Permission
public static enum Permission.PermissionRuleCombining
extends Enum<Permission.PermissionRuleCombining>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe deny overrides combining algorithm is intended for those cases where a deny decision should have priority over a permit decision.The ?Deny-unless-permit? combining algorithm is intended for those cases where a permit decision should have priority over a deny decision, and an ?Indeterminate? or ?NotApplicable? must never be the result.added to help the parsers with the generic typesThe behavior of this algorithm is identical to that of the ?Deny-overrides? rule-combining algorithm with one exception.The behavior of this algorithm is identical to that of the ?Permit-overrides? rule-combining algorithm with one exception.The permit overrides combining algorithm is intended for those cases where a permit decision should have priority over a deny decision.The ?Permit-unless-deny? combining algorithm is intended for those cases where a deny decision should have priority over a permit decision, and an ?Indeterminate? or ?NotApplicable? must never be the result. -
Method Summary
Modifier and TypeMethodDescriptiontoCode()
Returns the enum constant of this class with the specified name.static Permission.PermissionRuleCombining[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DENYOVERRIDES
The deny overrides combining algorithm is intended for those cases where a deny decision should have priority over a permit decision. -
PERMITOVERRIDES
The permit overrides combining algorithm is intended for those cases where a permit decision should have priority over a deny decision. -
ORDEREDDENYOVERRIDES
The behavior of this algorithm is identical to that of the ?Deny-overrides? rule-combining algorithm with one exception. The order in which the collection of rules is evaluated SHALL match the order as listed in the permission. -
ORDEREDPERMITOVERRIDES
The behavior of this algorithm is identical to that of the ?Permit-overrides? rule-combining algorithm with one exception. The order in which the collection of rules is evaluated SHALL match the order as listed in the permission. -
DENYUNLESSPERMIT
The ?Deny-unless-permit? combining algorithm is intended for those cases where a permit decision should have priority over a deny decision, and an ?Indeterminate? or ?NotApplicable? must never be the result. It is particularly useful at the top level in a policy structure to ensure that a PDP will always return a definite ?Permit? or ?Deny? result. -
PERMITUNLESSDENY
The ?Permit-unless-deny? combining algorithm is intended for those cases where a deny decision should have priority over a permit decision, and an ?Indeterminate? or ?NotApplicable? must never be the result. It is particularly useful at the top level in a policy structure to ensure that a PDP will always return a definite ?Permit? or ?Deny? result. This algorithm has the following behavior. -
NULL
added to help the parsers with the generic types
-
-
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
-
fromCode
public static Permission.PermissionRuleCombining fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException - Throws:
org.hl7.fhir.exceptions.FHIRException
-
toCode
-
getSystem
-
getDefinition
-
getDisplay
-