Class AdminRestrictedRole

  • All Implemented Interfaces:
    Serializable

    public class AdminRestrictedRole
    extends Object
    implements Serializable
    Specific messaging contract for restricted role references by entities.
    Author:
    Sunny Yu
    See Also:
    Serialized Form
    • Constructor Detail

      • AdminRestrictedRole

        public AdminRestrictedRole​(String role,
                                   String restrictionType,
                                   Set<String> restrictionTargets)
      • AdminRestrictedRole

        public AdminRestrictedRole()
    • Method Detail

      • getRole

        public String getRole()
        id of the role that is being restricted.
      • getRestrictionType

        public String getRestrictionType()
        Represents the type of the restriction.
      • getRestrictionTargets

        public Set<String> getRestrictionTargets()
        Represents the targets of the restriction.
      • setRole

        public void setRole​(String role)
        id of the role that is being restricted.
      • setRestrictionType

        public void setRestrictionType​(String restrictionType)
        Represents the type of the restriction.
      • setRestrictionTargets

        public void setRestrictionTargets​(Set<String> restrictionTargets)
        Represents the targets of the restriction.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object