Package cmion.storage

Class RequestSetProperty


  • public class RequestSetProperty
    extends ion.Meta.Request
    Request to set the given property to the given value. Value can be any object If a property of that name already existed the old value will be replaced. In any case this will result in a property changed event being raised
    • Constructor Summary

      Constructors 
      Constructor Description
      RequestSetProperty​(java.lang.String propertyName, java.lang.Object propertyValue)
      create a new request to set a property of given name to given value creating the property if it did not exist before If the property did not exist before it will be created as non-persistent If it existed before no changes to its persistent state are made
      RequestSetProperty​(java.lang.String propertyName, java.lang.Object propertyValue, java.lang.Boolean persistent)
      create a new request to set a property of given name to given value creating the property if it did not exist before
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getPersistent()
      return whether to set the property to persistent (true), non-persistent (false) or leave the persistent state as it was (NULL)
      java.lang.String getPropertyName()
      return the name of the property to set
      java.lang.Object getPropertyValue()
      return the value to set the property to
      • Methods inherited from class ion.Meta.Request

        getScheduleTime
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RequestSetProperty

        public RequestSetProperty​(java.lang.String propertyName,
                                  java.lang.Object propertyValue)
        create a new request to set a property of given name to given value creating the property if it did not exist before If the property did not exist before it will be created as non-persistent If it existed before no changes to its persistent state are made
      • RequestSetProperty

        public RequestSetProperty​(java.lang.String propertyName,
                                  java.lang.Object propertyValue,
                                  java.lang.Boolean persistent)
        create a new request to set a property of given name to given value creating the property if it did not exist before
        Parameters:
        persistent - Is the property persistent or not
    • Method Detail

      • getPropertyName

        public java.lang.String getPropertyName()
        return the name of the property to set
      • getPropertyValue

        public java.lang.Object getPropertyValue()
        return the value to set the property to
      • getPersistent

        public java.lang.Boolean getPersistent()
        return whether to set the property to persistent (true), non-persistent (false) or leave the persistent state as it was (NULL)