# Class MutableToManyRelationshipChange

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

All Implemented Interfaces:
  `PropertyChange, ToManyRelationshipChange`

public class MutableToManyRelationshipChange extends Object implements ToManyRelationshipChange

Since:
  4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MutableToManyRelationshipChange()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<T> T`
  `accept(PropertyChangeVisitor<T> visitor)`
  `void`
  `connected(ObjectId o)`
  `void`
  `disconnected(ObjectId o)`
  `Collection<ObjectId>`
  `getAdded()`
  `Collection<ObjectId>`
  `getRemoved()`

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### MutableToManyRelationshipChange

    public MutableToManyRelationshipChange()

- ## Method Details

  - ### accept

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

  - ### getAdded

    public Collection<ObjectId> getAdded()
    Specified by:
      `getAdded` in interface `ToManyRelationshipChange`

  - ### getRemoved

    public Collection<ObjectId> getRemoved()
    Specified by:
      `getRemoved` in interface `ToManyRelationshipChange`

  - ### connected

    public void connected(ObjectId o)

  - ### disconnected

    public void disconnected(ObjectId o)