Class LocalizedStringImpl
java.lang.Object
com.commercetools.importapi.models.common.LocalizedStringImpl
- All Implemented Interfaces:
LocalizedString
,io.vrap.rmf.base.client.ModelBase
public class LocalizedStringImpl
extends Object
implements LocalizedString, io.vrap.rmf.base.client.ModelBase
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"
}
-
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
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.importapi.models.common.LocalizedString
withLocalizedString
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
LocalizedStringImpl
public LocalizedStringImpl()create empty instance
-
-
Method Details
-
values
- Specified by:
values
in interfaceLocalizedString
- Returns:
- map of the pattern property values
-
setValue
Description copied from interface:LocalizedString
set pattern property- Specified by:
setValue
in interfaceLocalizedString
- Parameters:
key
- property namevalue
- property value
-
equals
-
hashCode
public int hashCode()
-