Interface Permission

  • All Known Implementing Classes:
    DefaultPermission

    public interface Permission
    Description of a single permission.
    • Method Detail

      • getKindOfPermission

        PermissionKind getKindOfPermission()
        Description of the kind of permission. Possible kind of permission also include the denial of the permission. More information under https://admin-shell.io/aas/3/0/RC01/Permission/kindOfPermission
        Returns:
        Returns the PermissionKind for the property kindOfPermission.
      • setKindOfPermission

        void setKindOfPermission​(PermissionKind kindOfPermission)
        Description of the kind of permission. Possible kind of permission also include the denial of the permission. More information under https://admin-shell.io/aas/3/0/RC01/Permission/kindOfPermission
        Parameters:
        kindOfPermission - desired value for the property kindOfPermission.
      • getPermission

        Reference getPermission()
        Reference to a property that defines the semantics of the permission. Constraint AASs-010: The property referenced in Permission/permission shall have the category 'CONSTANT'. Constraint AASs-011: The property referenced in Permission/permission shall be part of the submodel that is referenced within the 'selectablePermissions' attribute of 'AccessControl'. More information under https://admin-shell.io/aas/3/0/RC01/Permission/permission
        Returns:
        Returns the Reference for the property permission.
      • setPermission

        void setPermission​(Reference permission)
        Reference to a property that defines the semantics of the permission. Constraint AASs-010: The property referenced in Permission/permission shall have the category 'CONSTANT'. Constraint AASs-011: The property referenced in Permission/permission shall be part of the submodel that is referenced within the 'selectablePermissions' attribute of 'AccessControl'. More information under https://admin-shell.io/aas/3/0/RC01/Permission/permission
        Parameters:
        permission - desired value for the property permission.