Class AccessRestriction

java.lang.Object
com.broadleafcommerce.customer.domain.AccessRestriction
All Implemented Interfaces:
Serializable

public class AccessRestriction extends Object implements Serializable
A DTO used to represent a restriction on the data in which a user has access.
Since:
Customer Services 2.1.0, Release Train 2.3.0
Author:
karanjariwala
See Also:
  • Constructor Details

    • AccessRestriction

      public AccessRestriction()
  • Method Details

    • getType

      public String getType()
      Represents the type of the restriction.
    • getTargets

      public Set<String> getTargets()
      Represents the targets of the restriction.
    • setType

      public void setType(String type)
      Represents the type of the restriction.
    • setTargets

      public void setTargets(Set<String> targets)
      Represents the targets of the restriction.
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object