Package com.yummynoodlebar.events.menu

Examples of com.yummynoodlebar.events.menu.MenuItemDetails


    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }

  public static MenuItemDetails standardMenuItemDetails(String name) {
    return new MenuItemDetails(UUID.randomUUID().toString(), name, COST, MINUTES_TO_PREPARE);
  }
View Full Code Here


    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }

  private static MenuItemDetails standardMenuItemDetails(String name) {
    return new MenuItemDetails(UUID.randomUUID().toString(), name, COST, MINUTES_TO_PREPARE);
  }
View Full Code Here

    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }

  public static MenuItemDetails standardMenuItemDetails(String name) {
    return new MenuItemDetails(UUID.randomUUID().toString(), name, COST, MINUTES_TO_PREPARE);
  }
View Full Code Here

    menuItemDetails.add(standardMenuItemDetails(LOW_CAL + NAME));
    return new AllMenuItemsEvent(menuItemDetails);
  }

  public static MenuItemDetails standardMenuItemDetails(String name) {
    return new MenuItemDetails(UUID.randomUUID().toString(), name, COST, MINUTES_TO_PREPARE);
  }
View Full Code Here

  public void setMinutesToPrepare(int minutesToPrepare) {
    this.minutesToPrepare = minutesToPrepare;
  }

  public MenuItemDetails toStatusDetails() {
    return new MenuItemDetails(id, name, cost, minutesToPrepare);
  }
View Full Code Here

TOP

Related Classes of com.yummynoodlebar.events.menu.MenuItemDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.