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
ConstructorsConstructorDescriptionRequestSetProperty(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 madeRequestSetProperty(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 TypeMethodDescriptionreturn 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 setreturn the value to set the property toMethods inherited from class ion.Meta.Request
getScheduleTime
-
Constructor Details
-
RequestSetProperty
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
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
return the name of the property to set -
getPropertyValue
return the value to set the property to -
getPersistent
return whether to set the property to persistent (true), non-persistent (false) or leave the persistent state as it was (NULL)
-