Class Product
java.lang.Object
test.de.iip_ecosphere.platform.transport.Product
A test data class.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the product.doublegetPrice()Returns the price of the product.
-
Field Details
-
description
-
price
private double price
-
-
Constructor Details
-
Product
Creates a product instance.- Parameters:
description- the descriptionprice- the price
-
-
Method Details
-
getDescription
Returns the description of the product.- Returns:
- the description
-
getPrice
public double getPrice()Returns the price of the product.- Returns:
- the price
-