org.drools.examples.petstore
Class CartItem

java.lang.Object
  extended byorg.drools.examples.petstore.CartItem

public class CartItem
extends java.lang.Object

 

Constructor Summary
CartItem(java.lang.String name, double cost)
           
 
Method Summary
 double getCost()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CartItem

public CartItem(java.lang.String name,
                double cost)
Method Detail

getName

public java.lang.String getName()

getCost

public double getCost()

toString

public java.lang.String toString()