public final class MissingAttributesImpl extends Object implements MissingAttributes
| Constructor and Description |
|---|
MissingAttributesImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
AttributeCount |
getAttributeCount() |
AttributeCoverage |
getAttributeCoverage() |
List<String> |
getMissingAttributeNames()
The names of the attributes of the product type that the variant is missing, sorted by attribute importance in descending order.
|
List<String> |
getMissingAttributeValues()
The names of the attributes of the product type that the variant is missing, sorted by attribute importance in descending order.
|
ProductReference |
getProduct() |
ProductTypeReference |
getProductType() |
Integer |
getVariantId()
ID of a ProductVariant.
|
int |
hashCode() |
void |
setAttributeCount(AttributeCount attributeCount) |
void |
setAttributeCoverage(AttributeCoverage attributeCoverage) |
void |
setMissingAttributeNames(List<String> missingAttributeNames) |
void |
setMissingAttributeNames(String... missingAttributeNames) |
void |
setMissingAttributeValues(List<String> missingAttributeValues) |
void |
setMissingAttributeValues(String... missingAttributeValues) |
void |
setProduct(ProductReference product) |
void |
setProductType(ProductTypeReference productType) |
void |
setVariantId(Integer variantId) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, withMissingAttributespublic ProductReference getProduct()
getProduct in interface MissingAttributespublic ProductTypeReference getProductType()
getProductType in interface MissingAttributespublic Integer getVariantId()
ID of a ProductVariant.
getVariantId in interface MissingAttributespublic List<String> getMissingAttributeValues()
The names of the attributes of the product type that the variant is missing, sorted by attribute importance in descending order.
getMissingAttributeValues in interface MissingAttributespublic List<String> getMissingAttributeNames()
The names of the attributes of the product type that the variant is missing, sorted by attribute importance in descending order.
getMissingAttributeNames in interface MissingAttributespublic AttributeCount getAttributeCount()
getAttributeCount in interface MissingAttributespublic AttributeCoverage getAttributeCoverage()
getAttributeCoverage in interface MissingAttributespublic void setProduct(ProductReference product)
setProduct in interface MissingAttributespublic void setProductType(ProductTypeReference productType)
setProductType in interface MissingAttributespublic void setVariantId(Integer variantId)
setVariantId in interface MissingAttributespublic void setMissingAttributeValues(String... missingAttributeValues)
setMissingAttributeValues in interface MissingAttributespublic void setMissingAttributeValues(List<String> missingAttributeValues)
setMissingAttributeValues in interface MissingAttributespublic void setMissingAttributeNames(String... missingAttributeNames)
setMissingAttributeNames in interface MissingAttributespublic void setMissingAttributeNames(List<String> missingAttributeNames)
setMissingAttributeNames in interface MissingAttributespublic void setAttributeCount(AttributeCount attributeCount)
setAttributeCount in interface MissingAttributespublic void setAttributeCoverage(AttributeCoverage attributeCoverage)
setAttributeCoverage in interface MissingAttributes