Class ShoppingListReferenceImpl
java.lang.Object
com.commercetools.api.models.shopping_list.ShoppingListReferenceImpl
- All Implemented Interfaces:
Reference
,ReferenceMixin
,Identifiable<ShoppingList>
,ShoppingListReference
,io.vrap.rmf.base.client.ModelBase
public class ShoppingListReferenceImpl
extends Object
implements ShoppingListReference, io.vrap.rmf.base.client.ModelBase
Reference to a ShoppingList.
-
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.shopping_list.ShoppingListReference
SHOPPING_LIST
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the referenced ShoppingList.getObj()
Contains the representation of the expanded ShoppingList.Type of referenced resource.int
hashCode()
void
Unique identifier of the referenced ShoppingList.void
setObj
(ShoppingList obj) Contains the representation of the expanded ShoppingList.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.common.Reference
withReference
Methods inherited from interface com.commercetools.api.models.common.ReferenceMixin
toResourceIdentifier
Methods inherited from interface com.commercetools.api.models.shopping_list.ShoppingListReference
withShoppingListReference
-
Constructor Details
-
ShoppingListReferenceImpl
public ShoppingListReferenceImpl()create empty instance
-
-
Method Details
-
getTypeId
Type of referenced resource.
- Specified by:
getTypeId
in interfaceReference
- Specified by:
getTypeId
in interfaceReferenceMixin
- Returns:
- typeId
-
getId
Unique identifier of the referenced ShoppingList.
- Specified by:
getId
in interfaceIdentifiable<ShoppingList>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Specified by:
getId
in interfaceShoppingListReference
- Returns:
- id
-
getObj
Contains the representation of the expanded ShoppingList. Only present in responses to requests with Reference Expansion for ShoppingLists.
- Specified by:
getObj
in interfaceShoppingListReference
- Returns:
- obj
-
setId
Description copied from interface:ShoppingListReference
Unique identifier of the referenced ShoppingList.
- Specified by:
setId
in interfaceReference
- Specified by:
setId
in interfaceShoppingListReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:ShoppingListReference
Contains the representation of the expanded ShoppingList. Only present in responses to requests with Reference Expansion for ShoppingLists.
- Specified by:
setObj
in interfaceShoppingListReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
-