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 SummaryConstructors 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 SummaryAll 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.DomainObjectChangeRecordgetEventType, getNewValue, getOldValue, getSubEventType, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
ProgramChangeRecordpublic 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 type
- start- starting address that is affected by the event
- end- ending address that is affected by the event
- oldValue- original value
- newValue- new value
 
 - 
ProgramChangeRecordpublic 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 type
- subType- event sub-type
- start- starting address that is affected by the event
- end- ending address that is affected by the event
- oldValue- original value
- newValue- new value
 
 
- 
 - 
Method Detail- 
getStartpublic Address getStart() Get the start address.
 - 
getEndpublic Address getEnd() Get the end address.
 - 
getObjectpublic 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
 
 
- 
 
-