Class CodeUnitPropertyChangeRecord

  • All Implemented Interfaces:
    java.io.Serializable

    public class CodeUnitPropertyChangeRecord
    extends DomainObjectChangeRecord
    Change record generated when a property on a code unit changes.
    See Also:
    Serialized Form
    • Constructor Detail

      • CodeUnitPropertyChangeRecord

        public CodeUnitPropertyChangeRecord​(java.lang.String propertyName,
                                            Address codeUnitAddr,
                                            java.lang.Object oldValue,
                                            java.lang.Object newValue)
        Constructor
        Parameters:
        propertyName - name of the property
        codeUnitAddr - address of the code unit
        oldValue - old value
        newValue - new value
      • CodeUnitPropertyChangeRecord

        public CodeUnitPropertyChangeRecord​(java.lang.String propertyName,
                                            Address start,
                                            Address end)
        Constructor for change record for removing a range of properties.
        Parameters:
        propertyName - name of the property
        start - start of the range of properties being removed
        end - end of the range of properties being removed
    • Method Detail

      • getPropertyName

        public java.lang.String getPropertyName()
        Get the name of the property being changed.
      • getAddress

        public Address getAddress()
        Get the address of the code unit for this property change.
      • getStartAddress

        public Address getStartAddress()
        Get the start address of the range of properties that were removed.
        Returns:
        null if the event type is not ChangeManager.DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED
      • getEndAddress

        public Address getEndAddress()
        Get the end address of the range of properties that were removed.
        Returns:
        null if the event type is not ChangeManager.DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED