Class ProductCharacteristic
java.lang.Object
com.broadleafcommerce.cartoperation.domain.ProductCharacteristic
- All Implemented Interfaces:
Serializable
Links a
Product to a Characteristic and holds the actual value for that
Characteristic on the Product.- Since:
- Cart Operation Service 2.2.0, Release Train 2.2.0
- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanTheCharacteristicdefinition associated with this product.Name of the fieldType of the fieldgetValue()inthashCode()voidsetCharacteristic(Characteristic characteristic) TheCharacteristicdefinition associated with this product.voidsetFieldName(String fieldName) Name of the fieldvoidsetFieldType(String fieldType) Type of the fieldvoidsetValue(List<ProductCharacteristicValue> value) The list of values associated with this fieldtoString()
-
Constructor Details
-
ProductCharacteristic
public ProductCharacteristic()
-
-
Method Details
-
getValue
-
getFieldName
Name of the field -
getFieldType
Type of the field -
getCharacteristic
TheCharacteristicdefinition associated with this product. Not fully hydrated by default. -
setFieldName
Name of the field -
setFieldType
Type of the field -
setValue
The list of values associated with this field -
setCharacteristic
TheCharacteristicdefinition associated with this product. Not fully hydrated by default. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-