Class Scope

    • Field Detail

      • SCOPE_STRING_REGEX

        public static final java.lang.String SCOPE_STRING_REGEX
        See Also:
        Constant Field Values
    • Constructor Detail

      • Scope

        public Scope​(java.lang.String scopeString)
        Parameters:
        scopeString - a string of the form (user|patient|system)/:resourceType.(read|write|*)
    • Method Detail

      • getContextType

        public Scope.ContextType getContextType()
        Returns:
        the contextType
      • getResourceType

        public ResourceType.Value getResourceType()
        Returns:
        the resourceType; "Resource" for all resource types
      • getPermission

        public Scope.Permission getPermission()
        Returns:
        the permission
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a scopeString of the form (user|patient|system)/:resourceType.(read|write|*)