Package ghidra.program.util
Class ProgramChangeRecord
- java.lang.Object
 - 
- ghidra.framework.model.DomainObjectChangeRecord
 - 
- ghidra.program.util.ProgramChangeRecord
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class ProgramChangeRecord extends DomainObjectChangeRecord
Event data for a DomainObjectChangeEvent generated by a Program.See Program Events for more information on event data.
- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ProgramChangeRecord(int type, int subType, Address start, Address end, java.lang.Object affectedObj, java.lang.Object oldValue, java.lang.Object newValue)Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is.ProgramChangeRecord(int type, Address start, Address end, java.lang.Object affectedObj, java.lang.Object oldValue, java.lang.Object newValue)Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressgetEnd()Get the end address.java.lang.ObjectgetObject()Return the object that is the subject of this change record.AddressgetStart()Get the start address.- 
Methods inherited from class ghidra.framework.model.DomainObjectChangeRecord
getEventType, getNewValue, getOldValue, getSubEventType, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ProgramChangeRecord
public ProgramChangeRecord(int type, Address start, Address end, java.lang.Object affectedObj, java.lang.Object oldValue, java.lang.Object newValue)Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is.- Parameters:
 type- event typestart- starting address that is affected by the eventend- ending address that is affected by the eventoldValue- original valuenewValue- new value
 
- 
ProgramChangeRecord
public ProgramChangeRecord(int type, int subType, Address start, Address end, java.lang.Object affectedObj, java.lang.Object oldValue, java.lang.Object newValue)Construct a new ProgramChangeRecord; any of the Address or Object params may be null, depending on what the type param is.- Parameters:
 type- event typesubType- event sub-typestart- starting address that is affected by the eventend- ending address that is affected by the eventoldValue- original valuenewValue- new value
 
 - 
 
- 
Method Detail
- 
getStart
public Address getStart()
Get the start address. 
- 
getEnd
public Address getEnd()
Get the end address. 
- 
getObject
public java.lang.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
 
 
 - 
 
 -