Class AttributeRights

java.lang.Object
cz.metacentrum.perun.core.api.AttributeRights

public class AttributeRights extends Object
Class represents rights of an attribute. The rights relates to an Attribute and a role. Object ActionType represents one right (READ or WRITE).
Author:
Jiří Mauritz
  • Constructor Details

    • AttributeRights

      public AttributeRights()
    • AttributeRights

      public AttributeRights(int attributeId, String role, List<ActionType> rights)
  • Method Details

    • getAttributeId

      public int getAttributeId()
    • getRole

      public String getRole()
    • getRights

      public List<ActionType> getRights()
    • setAttributeId

      public void setAttributeId(int attributeId)
    • setRole

      public void setRole(String role)
    • setRights

      public void setRights(List<ActionType> rights)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object