Package cmion.storage

Class 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 Summary

      Constructors 
      Constructor Description
      EventPropertyChanged​(java.lang.String propertyName, java.lang.Object propertyValue, boolean persistent, CmionStorageContainer parentContainer)
      create a new event that a property of given name was set to given value
    • Constructor Detail

      • EventPropertyChanged

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

      • getPropertyName

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

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

        public java.lang.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 java.lang.String toString()
        displays information about this event
        Overrides:
        toString in class java.lang.Object