Package ghidra.program.util
Class UserDataChangeRecord
- java.lang.Object
-
- ghidra.framework.model.DomainObjectChangeRecord
-
- ghidra.program.util.UserDataChangeRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class UserDataChangeRecord extends DomainObjectChangeRecord
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserDataChangeRecord(java.lang.String propertyName)
Constructor for change record for removing a range of properties.UserDataChangeRecord(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getNewValue()
Get the new value.java.lang.Object
getOldValue()
Get the original value.java.lang.String
getPropertyName()
Get the name of the property being changed.-
Methods inherited from class ghidra.framework.model.DomainObjectChangeRecord
getEventType, getSubEventType, toString
-
-
-
-
Constructor Detail
-
UserDataChangeRecord
public UserDataChangeRecord(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
Constructor- Parameters:
propertyName
- name of the propertyoldValue
- old valuenewValue
- new value
-
UserDataChangeRecord
public UserDataChangeRecord(java.lang.String propertyName)
Constructor for change record for removing a range of properties.- Parameters:
propertyName
- name of the property
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName()
Get the name of the property being changed.
-
getOldValue
public java.lang.Object getOldValue()
Get the original value.- Overrides:
getOldValue
in classDomainObjectChangeRecord
-
getNewValue
public java.lang.Object getNewValue()
Get the new value.- Overrides:
getNewValue
in classDomainObjectChangeRecord
-
-