Class ReviewReferenceImpl
java.lang.Object
com.commercetools.api.models.review.ReviewReferenceImpl
- All Implemented Interfaces:
Reference
,ReferenceMixin
,Identifiable<Review>
,ReviewReference
,io.vrap.rmf.base.client.ModelBase
public class ReviewReferenceImpl
extends Object
implements ReviewReference, io.vrap.rmf.base.client.ModelBase
Reference to a Review.
-
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.review.ReviewReference
REVIEW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Unique identifier of the referenced Review.getObj()
Contains the representation of the expanded Review.Type of referenced resource.int
hashCode()
void
Unique identifier of the referenced Review.void
Contains the representation of the expanded Review.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.review.ReviewReference
withReviewReference
-
Constructor Details
-
ReviewReferenceImpl
public ReviewReferenceImpl()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 Review.
- Specified by:
getId
in interfaceIdentifiable<Review>
- Specified by:
getId
in interfaceReference
- Specified by:
getId
in interfaceReferenceMixin
- Specified by:
getId
in interfaceReviewReference
- Returns:
- id
-
getObj
Contains the representation of the expanded Review. Only present in responses to requests with Reference Expansion for Reviews.
- Specified by:
getObj
in interfaceReviewReference
- Returns:
- obj
-
setId
Description copied from interface:ReviewReference
Unique identifier of the referenced Review.
- Specified by:
setId
in interfaceReference
- Specified by:
setId
in interfaceReviewReference
- Parameters:
id
- value to be set
-
setObj
Description copied from interface:ReviewReference
Contains the representation of the expanded Review. Only present in responses to requests with Reference Expansion for Reviews.
- Specified by:
setObj
in interfaceReviewReference
- Parameters:
obj
- value to be set
-
equals
-
hashCode
public int hashCode()
-