Class CustomMenu

  • All Implemented Interfaces:
    java.io.Serializable

    public class CustomMenu
    extends java.lang.Object
    implements java.io.Serializable
    This is the business class for the object CustomMenu
    See Also:
    Serialized Form
    • Constructor Detail

      • CustomMenu

        public CustomMenu()
        Constructor
    • Method Detail

      • getId

        public int getId()
        Returns the Id
        Returns:
        The Id
      • setId

        public void setId​(int nId)
        Sets the Id
        Parameters:
        nId - The Id
      • getName

        public java.lang.String getName()
        Returns the Name
        Returns:
        The Name
      • setName

        public void setName​(java.lang.String strName)
        Sets the Name
        Parameters:
        strName - The Name
      • getBookmark

        public java.lang.String getBookmark()
        Returns the Bookmark
        Returns:
        The Bookmark
      • setBookmark

        public void setBookmark​(java.lang.String strBookmark)
        Sets the Bookmark
        Parameters:
        strBookmark - The Bookmark
      • getType

        public java.lang.String getType()
        Returns the Type
        Returns:
        The Type
      • setType

        public void setType​(java.lang.String strType)
        Sets the Type
        Parameters:
        strType - The Type
      • getDescription

        public java.lang.String getDescription()
        Returns the Description
        Returns:
        The Description
      • setDescription

        public void setDescription​(java.lang.String strDescription)
        Sets the description
        Parameters:
        string - Description The Description
      • getListItems

        public java.util.List<CustomMenuItem> getListItems()
        Returns the list of items
        Returns:
        The list of items
      • setListItems

        public void setListItems​(java.util.List<CustomMenuItem> listItems)
        Sets the list of items
        Parameters:
        listItems - The list of items
      • addItem

        public void addItem​(CustomMenuItem item)
        Add an item to the menu
        Parameters:
        item - The item to add
      • removeItem

        public void removeItem​(CustomMenuItem item)
        Remove an item from the menu
        Parameters:
        item - The item to remove