Class AdminRestriction

  • All Implemented Interfaces:
    Serializable

    public class AdminRestriction
    extends Object
    implements Serializable
    Specific messaging contract for restriction references by entities.
    Author:
    Nick Crum (ncrum)
    See Also:
    Serialized Form
    • Constructor Detail

      • AdminRestriction

        public AdminRestriction​(String id,
                                String restrictionType,
                                Set<String> restrictionTargets)
      • AdminRestriction

        public AdminRestriction()
    • Method Detail

      • getId

        public String getId()
        Represents the id of the User restriction.
      • getRestrictionType

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

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

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object