java.lang.Object
com.broadleafcommerce.catalog.domain.commerce.Breadcrumb
All Implemented Interfaces:
Serializable

public class Breadcrumb extends Object implements Serializable
DTO representing a single breadcrumb in a list used for navigating through a category's or product's hierarchy.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • Breadcrumb

      public Breadcrumb()
    • Breadcrumb

      public Breadcrumb(String label, String uri)
  • Method Details

    • getLabel

      public String getLabel()
      Label to display.
      Returns:
      Label to display.
    • getUri

      public String getUri()
      URI to link to.
      Returns:
      URI to link to.
    • setLabel

      public void setLabel(String label)
      Label to display.
      Parameters:
      label - Label to display.
    • setUri

      public void setUri(String uri)
      URI to link to.
      Parameters:
      uri - URI to link to.
    • 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