Class CustomFieldEnumValueImpl
java.lang.Object
com.commercetools.importapi.models.types.CustomFieldEnumValueImpl
- All Implemented Interfaces:
CustomFieldEnumValue
,io.vrap.rmf.base.client.ModelBase
public class CustomFieldEnumValueImpl
extends Object
implements CustomFieldEnumValue, io.vrap.rmf.base.client.ModelBase
Defines an allowed value of a CustomFieldEnumType field.
-
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 interface com.commercetools.importapi.models.types.CustomFieldEnumValue
withCustomFieldEnumValue
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CustomFieldEnumValueImpl
public CustomFieldEnumValueImpl()create empty instance
-
-
Method Details
-
getKey
Key of the value used as a programmatic identifier.
- Specified by:
getKey
in interfaceCustomFieldEnumValue
- Returns:
- key
-
getLabel
Descriptive label of the value.
- Specified by:
getLabel
in interfaceCustomFieldEnumValue
- Returns:
- label
-
setKey
Description copied from interface:CustomFieldEnumValue
Key of the value used as a programmatic identifier.
- Specified by:
setKey
in interfaceCustomFieldEnumValue
- Parameters:
key
- value to be set
-
setLabel
Description copied from interface:CustomFieldEnumValue
Descriptive label of the value.
- Specified by:
setLabel
in interfaceCustomFieldEnumValue
- Parameters:
label
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-