Class NavigableMenu

java.lang.Object
com.broadleafcommerce.adminnavigation.domain.NavigableMenu

public class NavigableMenu extends Object
This DTO is purely a concept used in the endpoint responsible for returning the navigation tree of a menu. This class and its fields are not persisted and are purely intended for this very specific use-case.
Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • NavigableMenu

      public NavigableMenu()
  • Method Details

    • 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
    • getSubmenu

      public List<NavigableNavMenuItem> getSubmenu()
      A list of the direct children of this menu with their own submenus populated.
      Returns:
      a list of the direct children of this menu with their own submenus populated
    • setSubmenu

      public void setSubmenu(List<NavigableNavMenuItem> submenu)
      A list of the direct children of this menu with their own submenus populated.
      Parameters:
      submenu - a list of the direct children of this menu with their own submenus populated
    • toString

      public String toString()
      Overrides:
      toString in class Object