org.drools.examples.petstore
Class PetStoreExample.Product
java.lang.Object
org.drools.examples.petstore.PetStoreExample.Product
- Enclosing class:
- PetStoreExample
public static class PetStoreExample.Product
- extends Object
PetStoreExample.Product
public PetStoreExample.Product(String name,
double cost)
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.