Class ProductLabelImpl
java.lang.Object
com.commercetools.history.models.label.ProductLabelImpl
- All Implemented Interfaces:
Label,ProductLabel,io.vrap.rmf.base.client.ModelBase
public class ProductLabelImpl
extends Object
implements ProductLabel, io.vrap.rmf.base.client.ModelBase
ProductLabel
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Field Summary
Fields inherited from interface com.commercetools.history.models.label.ProductLabel
PRODUCT_LABEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Name of the Product.getSlug()User-defined identifier used in a deep-link URL for the Product.getType()inthashCode()voidsetName(LocalizedString name) Name of the Product.voidsetSlug(LocalizedString slug) User-defined identifier used in a deep-link URL for the Product.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionStringMethods inherited from interface com.commercetools.history.models.label.ProductLabel
withProductLabel
-
Constructor Details
-
ProductLabelImpl
public ProductLabelImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceLabel- Specified by:
getTypein interfaceProductLabel- Returns:
- type
-
getSlug
User-defined identifier used in a deep-link URL for the Product.
- Specified by:
getSlugin interfaceProductLabel- Returns:
- slug
-
getName
Name of the Product.
- Specified by:
getNamein interfaceProductLabel- Returns:
- name
-
setSlug
Description copied from interface:ProductLabelUser-defined identifier used in a deep-link URL for the Product.
- Specified by:
setSlugin interfaceProductLabel- Parameters:
slug- value to be set
-
setName
Description copied from interface:ProductLabelName of the Product.
- Specified by:
setNamein interfaceProductLabel- Parameters:
name- value to be set
-
equals
-
hashCode
-