public class ProductVariantImpl extends Object implements ProductVariant, io.vrap.rmf.base.client.ModelBase
The product variant that contains the image.
| Constructor and Description |
|---|
ProductVariantImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ProductReference |
getProduct()
The product that contains this variant.
|
Boolean |
getStaged()
The state of the product variant.
|
Integer |
getVariantId()
The id of the product variant.
|
int |
hashCode() |
void |
setProduct(ProductReference product) |
void |
setStaged(Boolean staged) |
void |
setVariantId(Integer variantId) |
getClass, notify, notifyAll, toString, wait, wait, waitbuilder, builder, of, of, typeReference, withProductVariantpublic ProductVariantImpl()
public ProductReference getProduct()
The product that contains this variant.
getProduct in interface ProductVariantpublic Boolean getStaged()
The state of the product variant.
getStaged in interface ProductVariantpublic Integer getVariantId()
The id of the product variant.
getVariantId in interface ProductVariantpublic void setProduct(ProductReference product)
setProduct in interface ProductVariantpublic void setStaged(Boolean staged)
setStaged in interface ProductVariantpublic void setVariantId(Integer variantId)
setVariantId in interface ProductVariant