public class SimilarProductImpl extends Object implements SimilarProduct, io.vrap.rmf.base.client.ModelBase
One part of a SimilarProductPair. Refers to a specific ProductVariant.
| Constructor and Description |
|---|
SimilarProductImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
SimilarProductMeta |
getMeta()
Supplementary information about the data used for similarity estimation.
|
ProductReference |
getProduct()
Reference to Product
|
Long |
getVariantId()
ID of the ProductVariant that was compared.
|
int |
hashCode() |
void |
setMeta(SimilarProductMeta meta) |
void |
setProduct(ProductReference product) |
void |
setVariantId(Long variantId) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withSimilarProductpublic SimilarProductImpl()
public ProductReference getProduct()
Reference to Product
getProduct in interface SimilarProductpublic Long getVariantId()
ID of the ProductVariant that was compared.
getVariantId in interface SimilarProductpublic SimilarProductMeta getMeta()
Supplementary information about the data used for similarity estimation. This information helps you understand the estimated confidence score, but it should not be used to identify a product.
getMeta in interface SimilarProductpublic void setProduct(ProductReference product)
setProduct in interface SimilarProductpublic void setVariantId(Long variantId)
setVariantId in interface SimilarProductpublic void setMeta(SimilarProductMeta meta)
setMeta in interface SimilarProduct