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 boolean
boolean
TheCharacteristic
definition associated with this product.Name of the fieldType of the fieldgetValue()
int
hashCode()
void
setCharacteristic
(Characteristic characteristic) TheCharacteristic
definition associated with this product.void
setFieldName
(String fieldName) Name of the fieldvoid
setFieldType
(String fieldType) Type of the fieldvoid
setValue
(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
TheCharacteristic
definition 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
TheCharacteristic
definition associated with this product. Not fully hydrated by default. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-