- Cards - package Cards
-
- changeDeliveryCost(double, MyFoodora) - Method in class User.Manager
-
- changeMarkupPercentage(double, MyFoodora) - Method in class User.Manager
-
- changeServiceFee(double, MyFoodora) - Method in class User.Manager
-
- checkForPendingOffer() - Method in class User.Customer
-
- chooseCourier(Restaurant, Customer, ArrayList<Courier>) - Method in class DeliveryStrategy.FairOccupationDelivery
-
- chooseCourier(Restaurant, Customer, ArrayList<Courier>) - Method in class DeliveryStrategy.FastestDelivery
-
- chooseCourier(Restaurant, Customer, ArrayList<Courier>) - Method in class DeliveryStrategy.StrategyDeliveryPolicy
-
- chooseTargetProfit(MyFoodora, double) - Method in class StrategyProfit.StrategyTargetProfitPolicy
-
- chooseTargetProfit(MyFoodora, double) - Method in class StrategyProfit.TargetProfitDeliveryCost
-
- chooseTargetProfit(MyFoodora, double) - Method in class StrategyProfit.TargetProfitMarkup
-
- chooseTargetProfit(MyFoodora, double) - Method in class StrategyProfit.TargetProfitServiceFee
-
- Cli - package Cli
-
- Clui - Class in Cli
-
Clui controller, create a context allowing cli into foodora system.
- Clui(MyFoodora, ActiveUserContext) - Constructor for class Cli.Clui
-
- Command - Class in Cli
-
Describes how all command are, composed by a commandName and a listOfArgs,
It allow to verify if each argument is correct, and if all arguments are there.
- Command(String, Token[]) - Constructor for class Cli.Command
-
- Commands - package Commands
-
- compareTo(Order) - Method in class Order.Order
-
- compareTo(Date) - Method in class Others.Date
-
- compareTo(User) - Method in class User.Courier
-
- compareTo(User) - Method in class User.User
-
OVERRIDE
- ContextDeliveryStrategy - Class in DeliveryStrategy
-
Create a context outside foodora to manager and execute strategyDelivery
- ContextDeliveryStrategy(String) - Constructor for class DeliveryStrategy.ContextDeliveryStrategy
-
- ContextStrategy - Interface in Core
-
- ContextTargetProfitStrategy - Class in StrategyProfit
-
Context of the profit strategy.
- ContextTargetProfitStrategy(String) - Constructor for class StrategyProfit.ContextTargetProfitStrategy
-
- Core - package Core
-
- COURIER - Static variable in class Core.MyFoodora
-
- COURIER - Static variable in class test.TestCard
-
- COURIER - Static variable in class test.TestCore
-
- COURIER - Static variable in class test.TestCourier
-
- COURIER - Static variable in class test.TestCustomer
-
- COURIER - Static variable in class test.TestDeliveryStrategy
-
- COURIER - Static variable in class test.TestException
-
- COURIER - Static variable in class test.TestManager
-
- COURIER - Static variable in class test.TestOffers
-
- COURIER - Static variable in class test.TestRestaurant
-
- COURIER - Static variable in class test.TestTargetProfitStrategy
-
- COURIER - Static variable in class test.TestUserFactory
-
- Courier - Class in User
-
The Courier deliver the order from the restaurant to the customer.
- Courier(long, String, String, String, String, Adress, boolean, String, String) - Constructor for class User.Courier
-
CONSTRUCTOR
- Courier() - Constructor for class User.Courier
-
- COURIER - Static variable in class User.Customer
-
- COURIER - Static variable in class User.Manager
-
- COURIER - Static variable in class User.User
-
- COURIER - Static variable in class UserFactoryPattern.UserFactory
-
- createDish(String, String, String, double) - Method in class Item.FactoryDish
-
- createHumanUser(long, String, String, String, String, Adress, boolean, String, String, int) - Method in class UserFactoryPattern.HumanUserFactory
-
- createHumanUser(long, String, String, String, String, Adress, boolean, String, String, int) - Method in class UserFactoryPattern.MoralUserFactory
-
- createHumanUser(long, String, String, String, String, Adress, boolean, String, String, int) - Method in class UserFactoryPattern.UserFactory
-
- CreateMeal - Class in Commands
-
- CreateMeal() - Constructor for class Commands.CreateMeal
-
- createMeal(String, String) - Method in class Item.FactoryMeal
-
- createMeal(String, String, String) - Method in class Item.MealFactory
-
- createMeal(String, String) - Method in class User.Restaurant
-
- createMoralUser(long, String, String, String, String, Adress, boolean, int) - Method in class UserFactoryPattern.HumanUserFactory
-
- createMoralUser(long, String, String, String, String, Adress, boolean, int) - Method in class UserFactoryPattern.MoralUserFactory
-
- createMoralUser(long, String, String, String, String, Adress, boolean, int) - Method in class UserFactoryPattern.UserFactory
-
- CreateOrder - Class in Commands
-
- CreateOrder() - Constructor for class Commands.CreateOrder
-
- createOrder(String, Restaurant) - Method in class User.Customer
-
- createUser(long, String, String, String, String, Adress, boolean) - Method in class User.UserFactory
-
- createUserFactory(String) - Static method in class UserFactoryPattern.FactoryUserFactory
-
- CUSTOMER - Static variable in class Core.MyFoodora
-
- CUSTOMER - Static variable in class test.TestCard
-
- CUSTOMER - Static variable in class test.TestCore
-
- CUSTOMER - Static variable in class test.TestCourier
-
- CUSTOMER - Static variable in class test.TestCustomer
-
- CUSTOMER - Static variable in class test.TestDeliveryStrategy
-
- CUSTOMER - Static variable in class test.TestException
-
- CUSTOMER - Static variable in class test.TestManager
-
- CUSTOMER - Static variable in class test.TestOffers
-
- CUSTOMER - Static variable in class test.TestRestaurant
-
- CUSTOMER - Static variable in class test.TestTargetProfitStrategy
-
- CUSTOMER - Static variable in class test.TestUserFactory
-
- Customer - Class in User
-
Customer may create order, add meals and dishes to it from a restaurant and ask to be delivered.
- Customer(long, String, String, String, String, Adress, boolean, String, String) - Constructor for class User.Customer
-
- CUSTOMER - Static variable in class User.Customer
-
- CUSTOMER - Static variable in class User.Manager
-
- CUSTOMER - Static variable in class User.User
-
- CUSTOMER - Static variable in class UserFactoryPattern.UserFactory
-