Class ReferenceImpl

java.lang.Object
com.commercetools.api.models.common.ReferenceImpl
All Implemented Interfaces:
Reference, ReferenceMixin, io.vrap.rmf.base.client.ModelBase

public class ReferenceImpl extends Object implements Reference, io.vrap.rmf.base.client.ModelBase

A Reference represents a loose reference to another resource in the same Project identified by its id. The typeId indicates the type of the referenced resource. Each resource type has its corresponding Reference type, like ChannelReference. A referenced resource can be embedded through Reference Expansion. The expanded reference is the value of an additional obj field then.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase

    io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Unique ID of the referenced resource.
    Type of referenced resource.
    int
     
    void
    Unique ID of the referenced resource.

    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