Class PropNameEvent

All Implemented Interfaces:
IPostEventProcessing

public class PropNameEvent extends BubbleEvent
The event that indicates that a property name has been changed.
Author:
Christopher Mindus
  • Constructor Details Link icon

    • PropNameEvent Link icon

      public PropNameEvent(GProp<?> property, Atom oldAtom, boolean isRemoteInduced)
      Constructs a new property event.
      Parameters:
      property - The property instance being changed or initialized.
      oldAtom - The old atom or null if previously uninitialized.
      isRemoteInduced - Flag indicating this change is induced from a remote party.
  • Method Details Link icon

    • getOldAtom Link icon

      public Atom getOldAtom()
      Gets the old Atom.
      Returns:
      The old Atom or null if previously uninitialized.
    • paramString Link icon

      protected StringBuilder paramString(StringBuilder buf)
      Returns the parameter string representing the state of this event. This string is useful for debugging. Super classes adds extra information to the string by preceding it with a comma followed by the extra information.
      Overrides:
      paramString in class GEvent
      Parameters:
      buf - The StringBuilder to append the string to.
      Returns:
      The StringBuilder, i.e. the buf input parameter.
    • isVerifyEvent Link icon

      public boolean isVerifyEvent()
      Returns if this event is a verify event for a container that processes verification.
      Overrides:
      isVerifyEvent in class GEvent
      Returns:
      true always.
    • isClearCacheEvent Link icon

      public boolean isClearCacheEvent()
      Returns the state for a property container if this event is received in the onEventSelf method as a helper for it would need to clear the property container cache.
      Overrides:
      isClearCacheEvent in class GEvent
      Returns:
      true, always for this event.