Package io.adminshell.aas.v3.model
Interface PermissionsPerObject
-
- All Known Implementing Classes:
DefaultPermissionsPerObject
public interface PermissionsPerObjectTable that defines access permissions for a specified object. The object is any referable element in the AAS. Additionally object attributes can be defined that further specify the kind of object the permissions apply to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReferablegetObject()Element to which permission shall be assigned.java.util.List<Permission>getPermissions()Permissions assigned to the object.ObjectAttributesgetTargetObjectAttributes()Target object attributes that need to be fulfilled so that the access permissions apply to the accessing subject.voidsetObject(Referable object)Element to which permission shall be assigned.voidsetPermissions(java.util.List<Permission> permissions)Permissions assigned to the object.voidsetTargetObjectAttributes(ObjectAttributes targetObjectAttributes)Target object attributes that need to be fulfilled so that the access permissions apply to the accessing subject.
-
-
-
Method Detail
-
getObject
Referable getObject()
Element to which permission shall be assigned. More information under https://admin-shell.io/aas/3/0/RC01/PermissionsPerObject/object- Returns:
- Returns the Referable for the property object.
-
setObject
void setObject(Referable object)
Element to which permission shall be assigned. More information under https://admin-shell.io/aas/3/0/RC01/PermissionsPerObject/object- Parameters:
object- desired value for the property object.
-
getPermissions
java.util.List<Permission> getPermissions()
Permissions assigned to the object. The permissions hold for all subjects as specified in the access permission rule. More information under https://admin-shell.io/aas/3/0/RC01/PermissionsPerObject/permission- Returns:
- Returns the List of Permissions for the property permissions.
-
setPermissions
void setPermissions(java.util.List<Permission> permissions)
Permissions assigned to the object. The permissions hold for all subjects as specified in the access permission rule. More information under https://admin-shell.io/aas/3/0/RC01/PermissionsPerObject/permission- Parameters:
permissions- desired value for the property permissions.
-
getTargetObjectAttributes
ObjectAttributes getTargetObjectAttributes()
Target object attributes that need to be fulfilled so that the access permissions apply to the accessing subject. More information under https://admin-shell.io/aas/3/0/RC01/PermissionsPerObject/targetObjectAttributes- Returns:
- Returns the ObjectAttributes for the property targetObjectAttributes.
-
setTargetObjectAttributes
void setTargetObjectAttributes(ObjectAttributes targetObjectAttributes)
Target object attributes that need to be fulfilled so that the access permissions apply to the accessing subject. More information under https://admin-shell.io/aas/3/0/RC01/PermissionsPerObject/targetObjectAttributes- Parameters:
targetObjectAttributes- desired value for the property targetObjectAttributes.
-
-