com.cedarsoft.sample
Class Extra

java.lang.Object
  extended by com.cedarsoft.sample.Extra

public class Extra
extends Object

Represents an extra


Constructor Summary
Extra(String description, Money price)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
           
 Money getPrice()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Extra

public Extra(String description,
             Money price)
Method Detail

getPrice

public Money getPrice()

getDescription

public String getDescription()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 cedarsoft GmbH. All Rights Reserved.