Class AttributeNameDoesNotExistErrorImpl
java.lang.Object
com.commercetools.api.models.error.AttributeNameDoesNotExistErrorImpl
- All Implemented Interfaces:
AttributeNameDoesNotExistError,ErrorObject,io.vrap.rmf.base.client.ModelBase
public class AttributeNameDoesNotExistErrorImpl
extends Object
implements AttributeNameDoesNotExistError, io.vrap.rmf.base.client.ModelBase
Returned when an AttributeDefinition does not exist for an Attribute name.
The error is returned as a failed response to the Change AttributeDefinition Name update action.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle -
Field Summary
Fields inherited from interface com.commercetools.api.models.error.AttributeNameDoesNotExistError
ATTRIBUTE_NAME_DOES_NOT_EXIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleangetCode()Error identifier.Non-existent Attribute name."Attribute definition for $attributeName does not exist on type $typeName."inthashCode()voidsetInvalidAttributeName(String invalidAttributeName) Non-existent Attribute name.voidsetMessage(String message) "Attribute definition for $attributeName does not exist on type $typeName."voidError-specific additional fields.toString()values()Error-specific additional fields.Methods inherited from interface com.commercetools.api.models.error.AttributeNameDoesNotExistError
withAttributeNameDoesNotExistErrorMethods inherited from interface com.commercetools.api.models.error.ErrorObject
withErrorObjectMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AttributeNameDoesNotExistErrorImpl
public AttributeNameDoesNotExistErrorImpl()create empty instance
-
-
Method Details
-
getCode
Description copied from interface:ErrorObjectError identifier.
- Specified by:
getCodein interfaceAttributeNameDoesNotExistError- Specified by:
getCodein interfaceErrorObject- Returns:
- code
-
getMessage
"Attribute definition for $attributeName does not exist on type $typeName."- Specified by:
getMessagein interfaceAttributeNameDoesNotExistError- Specified by:
getMessagein interfaceErrorObject- Returns:
- message
-
values
Error-specific additional fields.
- Specified by:
valuesin interfaceErrorObject- Returns:
- map of the pattern property values
-
getInvalidAttributeName
Non-existent Attribute name.
- Specified by:
getInvalidAttributeNamein interfaceAttributeNameDoesNotExistError- Returns:
- invalidAttributeName
-
setMessage
Description copied from interface:AttributeNameDoesNotExistError"Attribute definition for $attributeName does not exist on type $typeName."- Specified by:
setMessagein interfaceAttributeNameDoesNotExistError- Specified by:
setMessagein interfaceErrorObject- Parameters:
message- value to be set
-
setValue
Description copied from interface:ErrorObjectError-specific additional fields.
- Specified by:
setValuein interfaceErrorObject- Parameters:
key- property namevalue- property value
-
setInvalidAttributeName
Description copied from interface:AttributeNameDoesNotExistErrorNon-existent Attribute name.
- Specified by:
setInvalidAttributeNamein interfaceAttributeNameDoesNotExistError- Parameters:
invalidAttributeName- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceAttributeNameDoesNotExistError- Specified by:
copyDeepin interfaceErrorObject
-