Package ghidra.framework.model
Class DomainObjectChangeRecord
java.lang.Object
ghidra.framework.model.DomainObjectChangeRecord
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CodeUnitPropertyChangeRecord
,CodeUnitUserDataChangeRecord
,DataTypeArchiveChangeRecord
,ProgramChangeRecord
,UserDataChangeRecord
Information about a change that was made to a domain object. The
record is delivered as part of the change notification. The event
types correspond to the constants in
ChangeManager
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new DomainObjectChangeRecord.DomainObjectChangeRecord
(int type) Construct a new DomainObjectChangeRecord.DomainObjectChangeRecord
(int type, int subType, Object oldValue, Object newValue) Construct a new DomainObjectChangeRecord.DomainObjectChangeRecord
(int type, Object oldValue, Object newValue) Construct a new DomainObjectChangeRecord. -
Method Summary
Modifier and TypeMethodDescriptionint
Return the event type for this change record.Return the new value.Return the old value.int
Return the sub-event type for this change record.toString()
-
Constructor Details
-
DomainObjectChangeRecord
public DomainObjectChangeRecord()Construct a new DomainObjectChangeRecord. -
DomainObjectChangeRecord
public DomainObjectChangeRecord(int type) Construct a new DomainObjectChangeRecord.- Parameters:
type
- event type
-
DomainObjectChangeRecord
Construct a new DomainObjectChangeRecord.- Parameters:
type
- event typeoldValue
- old valuenewValue
- new value
-
DomainObjectChangeRecord
Construct a new DomainObjectChangeRecord.- Parameters:
type
- event typesubType
- sub-event type (use 0 if unspecified)oldValue
- old valuenewValue
- new value
-
-
Method Details
-
getEventType
public int getEventType()Return the event type for this change record. -
getSubEventType
public int getSubEventType()Return the sub-event type for this change record. A value of 0 is the default if unspecified. -
getOldValue
Return the old value. -
getNewValue
Return the new value. -
toString
-