Class KeyReferenceImpl

java.lang.Object
com.commercetools.api.models.common.KeyReferenceImpl
All Implemented Interfaces:
KeyReference, WithKey, io.vrap.rmf.base.client.ModelBase

public class KeyReferenceImpl extends Object implements KeyReference, io.vrap.rmf.base.client.ModelBase

A KeyReference represents a loose reference to another resource in the same Project identified by the resource's key field. If available, the key is immutable and mandatory. KeyReferences do not support Reference Expansion.

  • 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
     
    User-defined unique and immutable key of the referenced resource.
    Type of referenced resource.
    int
     
    void
    User-defined unique and immutable key of the referenced resource.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.commercetools.api.models.common.KeyReference

    withKeyReference

    Methods inherited from interface io.vrap.rmf.base.client.ModelBase

    reflectionString, reflectionString