Class LocalizedEnumValueImpl
java.lang.Object
com.commercetools.importapi.models.common.LocalizedEnumValueImpl
- All Implemented Interfaces:
LocalizedEnumValue
,io.vrap.rmf.base.client.ModelBase
public class LocalizedEnumValueImpl
extends Object
implements LocalizedEnumValue, io.vrap.rmf.base.client.ModelBase
LocalizedEnumValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
Constructors -
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.toString()
Methods inherited from interface com.commercetools.importapi.models.common.LocalizedEnumValue
withLocalizedEnumValue
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
LocalizedEnumValueImpl
public LocalizedEnumValueImpl()create empty instance
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceLocalizedEnumValue
- 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 interfaceLocalizedEnumValue
- Returns:
- label
-
setKey
Description copied from interface:LocalizedEnumValue
set key- Specified by:
setKey
in interfaceLocalizedEnumValue
- Parameters:
key
- value to be set
-
setLabel
Description copied from interface:LocalizedEnumValue
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 interfaceLocalizedEnumValue
- Parameters:
label
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-