org.apache.camel.example.cafe
Class Drink

java.lang.Object
  extended by org.apache.camel.example.cafe.Drink

public class Drink
extends Object


Constructor Summary
Drink(int orderNumber, DrinkType drinkType, boolean hot, int shots)
           
 
Method Summary
 boolean equals(Object o)
           
 int getOrderNumber()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Drink

public Drink(int orderNumber,
             DrinkType drinkType,
             boolean hot,
             int shots)
Method Detail

getOrderNumber

public int getOrderNumber()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Apache CAMEL