Class PublishChangeImpl

java.lang.Object
com.commercetools.history.models.change.PublishChangeImpl
All Implemented Interfaces:
Change, PublishChange, io.vrap.rmf.base.client.ModelBase

public class PublishChangeImpl extends Object implements PublishChange, io.vrap.rmf.base.client.ModelBase

Change triggered by the Publish update action.

  • 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.history.models.change.PublishChange

    PUBLISH_CHANGE
  • Constructor Summary

    Constructors
    Constructor
    Description
    create empty instance
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Type of change on a resource that is similar to the update action it relates to, where possible.
    Unique discriminator value to reliably deserialize the data type.
    int
     
    void
    setChange(String change)
    set change

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.commercetools.history.models.change.Change

    withChange

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

    reflectionString, reflectionString

    Methods inherited from interface com.commercetools.history.models.change.PublishChange

    withPublishChange
  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Description copied from interface: Change

      Unique discriminator value to reliably deserialize the data type.

      Specified by:
      getType in interface Change
      Specified by:
      getType in interface PublishChange
      Returns:
      type
    • getChange

      public String getChange()
      Description copied from interface: Change

      Type of change on a resource that is similar to the update action it relates to, where possible. It is not a unique identifier for the data structure, for example, the setDescription change can occur with a localized and non-localized representation.

      Records can be filtered by this value using the changes query parameter.

      Specified by:
      getChange in interface Change
      Specified by:
      getChange in interface PublishChange
      Returns:
      change
    • setChange

      public void setChange(String change)
      Description copied from interface: PublishChange
      set change
      Specified by:
      setChange in interface Change
      Specified by:
      setChange in interface PublishChange
      Parameters:
      change - value to be set
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object