Package ghidra.program.util

# Class DataTypeArchiveChangeRecord

java.lang.Object
ghidra.framework.model.DomainObjectChangeRecord
ghidra.program.util.DataTypeArchiveChangeRecord

All Implemented Interfaces:
  `Serializable`

public class DataTypeArchiveChangeRecord extends DomainObjectChangeRecord
Event data for a DomainObjectChangeEvent generated by a Data Type Archive.

See Data Type Archive Events for more information on event data.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DataTypeArchiveChangeRecord(int type, Object affectedObj, Object oldValue, Object newValue)`
  Construct a new DataTypeArchiveChangeRecord; the `affectedObj` parameter may be null, depending on what the `type` parameter is.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getObject()`
  Return the object that is the subject of this change record.

  ### Methods inherited from class ghidra.framework.model.DomainObjectChangeRecord

  `getEventType, getNewValue, getOldValue, getSubEventType, toString`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### DataTypeArchiveChangeRecord

    public DataTypeArchiveChangeRecord(int type, Object affectedObj, Object oldValue, Object newValue)
    Construct a new DataTypeArchiveChangeRecord; the `affectedObj` parameter may be null, depending on what the `type` parameter is.
    Parameters:
      `type` - event type
      `affectedObj` - the object affected by the change
      `oldValue` - original value
      `newValue` - new value

- ## Method Details

  - ### getObject

    public Object getObject()
    Return the object that is the subject of this change record.
    Returns:
      Object null if this change record does not have the affected object