Class Restriction

java.lang.Object
com.broadleafcommerce.auth.resource.domain.Restriction
All Implemented Interfaces:
Serializable

public class Restriction extends Object implements Serializable
A DTO used to represent a restriction on the data in which a user has access.
Author:
Nick Crum (ncrum)
See Also:
  • Constructor Details

    • Restriction

      public Restriction()
  • 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