java.lang.Object
test.de.iip_ecosphere.platform.transport.Product

public class Product extends Object
A test data class.
Author:
Holger Eichelberger, SSE
  • Field Details

    • description

      private String description
    • price

      private double price
  • Constructor Details

    • Product

      public Product(String description, double price)
      Creates a product instance.
      Parameters:
      description - the description
      price - the price
  • Method Details

    • getDescription

      public String getDescription()
      Returns the description of the product.
      Returns:
      the description
    • getPrice

      public double getPrice()
      Returns the price of the product.
      Returns:
      the price