Package cmion.storage

Class RequestSetProperty

java.lang.Object
ion.Meta.Request
cmion.storage.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(String propertyName, 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(String propertyName, Object propertyValue, 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

    Modifier and Type
    Method
    Description
    return whether to set the property to persistent (true), non-persistent (false) or leave the persistent state as it was (NULL)
    return the name of the property to set
    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 Details

    • RequestSetProperty

      public RequestSetProperty(String propertyName, 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(String propertyName, Object propertyValue, 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 Details

    • getPropertyName

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

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

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