Class LocalizedEnumValueImpl
java.lang.Object
com.commercetools.history.models.change_value.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 TypeMethodDescriptionbooleangetKey()Key of the value used as a programmatic identifier.getLabel()Descriptive localized label of the value.inthashCode()voidKey of the value used as a programmatic identifier.voidsetLabel(LocalizedString label) Descriptive localized label of the value.toString()Methods inherited from interface com.commercetools.history.models.change_value.LocalizedEnumValue
withLocalizedEnumValueMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
LocalizedEnumValueImpl
public LocalizedEnumValueImpl()create empty instance
-
-
Method Details
-
getKey
Key of the value used as a programmatic identifier.
- Specified by:
getKeyin interfaceLocalizedEnumValue- Returns:
- key
-
getLabel
Descriptive localized label of the value.
- Specified by:
getLabelin interfaceLocalizedEnumValue- Returns:
- label
-
setKey
Description copied from interface:LocalizedEnumValueKey of the value used as a programmatic identifier.
- Specified by:
setKeyin interfaceLocalizedEnumValue- Parameters:
key- value to be set
-
setLabel
Description copied from interface:LocalizedEnumValueDescriptive localized label of the value.
- Specified by:
setLabelin interfaceLocalizedEnumValue- Parameters:
label- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-