org.drools.examples.petstore
Class PetStoreExample.Product

java.lang.Object
  extended by org.drools.examples.petstore.PetStoreExample.Product
Enclosing class:
PetStoreExample

public static class PetStoreExample.Product
extends Object


Constructor Summary
PetStoreExample.Product(String name, double cost)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 double getPrice()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PetStoreExample.Product

public PetStoreExample.Product(String name,
                               double cost)
Method Detail

getName

public String getName()

getPrice

public double getPrice()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.