public class ProductAttributeInformation extends Information
Constructor and Description |
---|
ProductAttributeInformation(InformationAgent originator,
double productAttributeInformationValue,
ProductAttribute correspondingProductAttribute)
ProductAttributeInformation is Information about the value of a ProductAttribute.
|
Modifier and Type | Method and Description |
---|---|
ProductAttribute |
getCorrespondingProductAttribute() |
double |
getProductAttributeInformationValue() |
getInformationOriginAgent
public ProductAttributeInformation(InformationAgent originator, double productAttributeInformationValue, ProductAttribute correspondingProductAttribute)
originator
- The agent from which the information stemsproductAttributeInformationValue
- The value the originator wants to transport about the ProductAttributecorrespondingProductAttribute
- The ProductAttribute the value of the information is to be associated withpublic double getProductAttributeInformationValue()
public ProductAttribute getCorrespondingProductAttribute()