Class AttributePolicy

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

public class AttributePolicy extends Object
Represents a policy of an attribute. It specifies the role, that users need to have, and the object, upon which the role is set.
Author:
Radoslav Čerhák <r.cerhak@gmail.com>
  • Constructor Details

    • AttributePolicy

      public AttributePolicy()
    • AttributePolicy

      public AttributePolicy(int id, String role, RoleObject object, int policyCollectionId)
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • getId

      public int getId()
    • setId

      public void setId(int id)
    • getObject

      public RoleObject getObject()
    • setObject

      public void setObject(RoleObject object)
    • getPolicyCollectionId

      public int getPolicyCollectionId()
    • setPolicyCollectionId

      public void setPolicyCollectionId(int policyCollectionId)
    • getRole

      public String getRole()
    • setRole

      public void setRole(String role)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object