Class AttributeLocalizedEnumValueImpl
java.lang.Object
com.commercetools.importapi.models.producttypes.AttributeLocalizedEnumValueImpl
- All Implemented Interfaces:
AttributeLocalizedEnumValue
,io.vrap.rmf.base.client.ModelBase
public class AttributeLocalizedEnumValueImpl
extends Object
implements AttributeLocalizedEnumValue, io.vrap.rmf.base.client.ModelBase
AttributeLocalizedEnumValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getKey()
getLabel()
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
set keyvoid
setLabel
(LocalizedString label) 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.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.producttypes.AttributeLocalizedEnumValue
withAttributeLocalizedEnumValue
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AttributeLocalizedEnumValueImpl
public AttributeLocalizedEnumValueImpl()create empty instance
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceAttributeLocalizedEnumValue
- Returns:
- key
-
getLabel
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:
getLabel
in interfaceAttributeLocalizedEnumValue
- Returns:
- label
-
setKey
Description copied from interface:AttributeLocalizedEnumValue
set key- Specified by:
setKey
in interfaceAttributeLocalizedEnumValue
- Parameters:
key
- value to be set
-
setLabel
Description copied from interface:AttributeLocalizedEnumValue
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:
setLabel
in interfaceAttributeLocalizedEnumValue
- Parameters:
label
- value to be set
-
equals
-
hashCode
-