MutableAttributeChange (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.commitlog.model, class: MutableAttributeChange

# Class MutableAttributeChange

java.lang.Object
org.apache.cayenne.commitlog.model.MutableAttributeChange

All Implemented Interfaces:
  `AttributeChange, PropertyChange`

public class MutableAttributeChange extends Object implements AttributeChange

Since:
  4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MutableAttributeChange()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<T> T`
  `accept(PropertyChangeVisitor<T> visitor)`
  `Object`
  `getNewValue()`
  `Object`
  `getOldValue()`
  `void`
  `setNewValue(Object value)`
  `void`
  `setOldValue(Object oldValue)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MutableAttributeChange

    public MutableAttributeChange()

- ## Method Details

  - ### accept

    public <T> T accept(PropertyChangeVisitor<T> visitor)
    Specified by:
      `accept` in interface `PropertyChange`

  - ### setOldValue

    public void setOldValue(Object oldValue)

  - ### setNewValue

    public void setNewValue(Object value)

  - ### getOldValue

    public Object getOldValue()
    Specified by:
      `getOldValue` in interface `AttributeChange`

  - ### getNewValue

    public Object getNewValue()
    Specified by:
      `getNewValue` in interface `AttributeChange`