foodManagement
Interface Listable

All Known Implementing Classes:
Entree, Food

public interface Listable

Objects that implement this interface (and are immutable)can be put into a SortedListOfImmutables.


Method Summary
 java.lang.String getName()
          Getter for the name of the item
 int getRetailValue()
          Getter for the retail cost of the item
 int getWholesaleCost()
          Getter for the wholesale cost of the item
 java.lang.String toString()
           
 

Method Detail

getName

java.lang.String getName()
Getter for the name of the item

Returns:
name of the item

getWholesaleCost

int getWholesaleCost()
Getter for the wholesale cost of the item

Returns:
wholesale cost of the item

getRetailValue

int getRetailValue()
Getter for the retail cost of the item

Returns:
retail cost of the item

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object


Web Accessibility