public class ProductAttribute extends java.lang.Object implements AttributeMapEntry<AttributeKey,Product>
Modifier and Type | Field and Description |
---|---|
private AttributeKey |
key |
private Product |
value |
Constructor and Description |
---|
ProductAttribute(AttributeKey key,
Product value) |
private Product value
private final AttributeKey key
public ProductAttribute(AttributeKey key, Product value)
public Product setValue(Product value)
setValue
in interface java.util.Map.Entry<AttributeKey,Product>
public AttributeKey getKey()
getKey
in interface AttributeMapEntry<AttributeKey,Product>
getKey
in interface java.util.Map.Entry<AttributeKey,Product>
public Product getValue()
getValue
in interface AttributeMapEntry<AttributeKey,Product>
getValue
in interface java.util.Map.Entry<AttributeKey,Product>