Class AssociateRoleKeyReferenceImpl
java.lang.Object
com.commercetools.api.models.associate_role.AssociateRoleKeyReferenceImpl
- All Implemented Interfaces:
AssociateRoleKeyReference,KeyReference,WithKey,io.vrap.rmf.base.client.ModelBase
public class AssociateRoleKeyReferenceImpl
extends Object
implements AssociateRoleKeyReference, io.vrap.rmf.base.client.ModelBase
KeyReference to an AssociateRole.
-
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.associate_role.AssociateRoleKeyReference
ASSOCIATE_ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyDeep()booleangetKey()Unique and immutable key of the referenced AssociateRole.Type of referenced resource.inthashCode()voidUnique and immutable key of the referenced AssociateRole.toString()Methods inherited from interface com.commercetools.api.models.associate_role.AssociateRoleKeyReference
withAssociateRoleKeyReferenceMethods inherited from interface com.commercetools.api.models.common.KeyReference
withKeyReferenceMethods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
AssociateRoleKeyReferenceImpl
public AssociateRoleKeyReferenceImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeIdin interfaceKeyReference- Returns:
- typeId
-
getKey
Unique and immutable key of the referenced AssociateRole.
- Specified by:
getKeyin interfaceAssociateRoleKeyReference- Specified by:
getKeyin interfaceKeyReference- Specified by:
getKeyin interfaceWithKey- Returns:
- key
-
setKey
Description copied from interface:AssociateRoleKeyReferenceUnique and immutable key of the referenced AssociateRole.
- Specified by:
setKeyin interfaceAssociateRoleKeyReference- Specified by:
setKeyin interfaceKeyReference- Parameters:
key- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-
copyDeep
- Specified by:
copyDeepin interfaceAssociateRoleKeyReference- Specified by:
copyDeepin interfaceKeyReference
-