Package io.camunda.service.entities
Record Class AuthorizationEntity.Authorization
java.lang.Object
java.lang.Record
io.camunda.service.entities.AuthorizationEntity.Authorization
- Enclosing class:
AuthorizationEntity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ownerKey()Returns the value of theownerKeyrecord component.Returns the value of theownerTyperecord component.Returns the value of thepermissionsrecord component.Returns the value of theresourceKeyrecord component.Returns the value of theresourceTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Authorization
public Authorization(String ownerKey, String ownerType, String resourceKey, String resourceType, Set<String> permissions) Creates an instance of aAuthorizationrecord class.- Parameters:
ownerKey- the value for theownerKeyrecord componentownerType- the value for theownerTyperecord componentresourceKey- the value for theresourceKeyrecord componentresourceType- the value for theresourceTyperecord componentpermissions- the value for thepermissionsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
ownerKey
Returns the value of theownerKeyrecord component.- Returns:
- the value of the
ownerKeyrecord component
-
ownerType
Returns the value of theownerTyperecord component.- Returns:
- the value of the
ownerTyperecord component
-
resourceKey
Returns the value of theresourceKeyrecord component.- Returns:
- the value of the
resourceKeyrecord component
-
resourceType
Returns the value of theresourceTyperecord component.- Returns:
- the value of the
resourceTyperecord component
-
permissions
Returns the value of thepermissionsrecord component.- Returns:
- the value of the
permissionsrecord component
-