public class ProductAttribute
extends java.lang.Object
Constructor and Description |
---|
ProductAttribute(double value,
ProductGroupAttribute correspondingProductGroupAttribute)
A ProductAttribute represents the value a product has in respect to the correspondingProductGroupAttribute
|
Modifier and Type | Method and Description |
---|---|
ProductGroupAttribute |
getCorrespondingProductGroupAttribute() |
double |
getValue() |
public ProductAttribute(double value, ProductGroupAttribute correspondingProductGroupAttribute)
value
- The degree to which the respective quality is fulfilled.correspondingProductGroupAttribute
- The ProductGroupAttribute this ProductAttribute is based onpublic double getValue()
public ProductGroupAttribute getCorrespondingProductGroupAttribute()