Package cmion.storage
Class RequestSetProperty
- java.lang.Object
-
- ion.Meta.Request
-
- cmion.storage.RequestSetProperty
-
public class RequestSetProperty extends ion.Meta.RequestRequest 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 madeRequestSetProperty(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.BooleangetPersistent()return whether to set the property to persistent (true), non-persistent (false) or leave the persistent state as it was (NULL)java.lang.StringgetPropertyName()return the name of the property to setjava.lang.ObjectgetPropertyValue()return the value to set the property to
-
-
-
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)
-
-