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
Reference to an AssociateRole by its key.
-
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
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.associate_role.AssociateRoleKeyReference
withAssociateRoleKeyReference
Methods inherited from interface com.commercetools.api.models.common.KeyReference
withKeyReference
Methods 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:
getTypeId
in interfaceKeyReference
- Returns:
- typeId
-
getKey
Unique and immutable key of the referenced AssociateRole.
- Specified by:
getKey
in interfaceAssociateRoleKeyReference
- Specified by:
getKey
in interfaceKeyReference
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
setKey
Description copied from interface:AssociateRoleKeyReference
Unique and immutable key of the referenced AssociateRole.
- Specified by:
setKey
in interfaceAssociateRoleKeyReference
- Specified by:
setKey
in interfaceKeyReference
- Parameters:
key
- value to be set
-
equals
-
hashCode
-