Class LocalizableTextAttributeImpl
- All Implemented Interfaces:
Attribute
,LocalizableTextAttribute
,io.vrap.rmf.base.client.ModelBase
This type represents an attribute whose value is a localized text.
-
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.importapi.models.productvariants.LocalizableTextAttribute
LTEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
The name of this attribute must match a name of the product types attribute definitions.getType()
getValue()
A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.int
hashCode()
void
The name of this attribute must match a name of the product types attribute definitions.void
setValue
(LocalizedString value) A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.toString()
Methods inherited from interface com.commercetools.importapi.models.productvariants.Attribute
withAttribute
Methods inherited from interface com.commercetools.importapi.models.productvariants.LocalizableTextAttribute
withLocalizableTextAttribute
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
LocalizableTextAttributeImpl
public LocalizableTextAttributeImpl()create empty instance
-
-
Method Details
-
getName
The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.
-
getType
-
getValue
A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.
{ "de": "Hundefutter", "en": "dog food" }
- Specified by:
getValue
in interfaceLocalizableTextAttribute
- Returns:
- value
-
setName
Description copied from interface:Attribute
The name of this attribute must match a name of the product types attribute definitions. The name is required if this type is used in a product variant and must not be set when used in a product variant patch.
-
setValue
Description copied from interface:LocalizableTextAttribute
A localized string is a JSON object where the keys are of IETF language tag, and the values the corresponding strings used for that language.
{ "de": "Hundefutter", "en": "dog food" }
- Specified by:
setValue
in interfaceLocalizableTextAttribute
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-