Package cmion.storage

Class EventPropertyChanged

java.lang.Object
ion.Meta.Event
cmion.architecture.CmionEvent
cmion.storage.EventPropertyChanged
All Implemented Interfaces:
ion.Meta.IEvent

public class EventPropertyChanged extends CmionEvent
This event is raised whenever a property value has been set through a RequestSetProperty. Also raised when the property did not exist before and was created.
  • Constructor Details

    • EventPropertyChanged

      public EventPropertyChanged(String propertyName, Object propertyValue, boolean persistent, CmionStorageContainer parentContainer)
      create a new event that a property of given name was set to given value
      Parameters:
      persistent -
  • Method Details

    • getPropertyName

      public String getPropertyName()
      return the name of the property that was changed
    • isPersistent

      public boolean isPersistent()
      return whether the property is persistent
    • getPropertyValue

      public Object getPropertyValue()
      return the value the property was set to
    • getParentContainer

      public CmionStorageContainer getParentContainer()
      return the container which the changed property belongs to
    • toString

      public String toString()
      displays information about this event
      Overrides:
      toString in class Object