Class PetStoreExample.Product

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

public static class PetStoreExample.Product extends Object
  • Constructor Details

    • Product

      public Product(String name, double cost)
  • Method Details

    • 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