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 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmionStorageContainergetParentContainer()return the container which the changed property belongs tojava.lang.StringgetPropertyName()return the name of the property that was changedjava.lang.ObjectgetPropertyValue()return the value the property was set tobooleanisPersistent()return whether the property is persistentjava.lang.StringtoString()displays information about this event-
Methods inherited from class cmion.architecture.CmionEvent
getOriginator, setOriginator
-
-
-
-
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:
toStringin classjava.lang.Object
-
-