setProperty

format

void setProperty(String key, Object value)

 

void setProperty(String key,Object value,CommandList beforeMethods,CommandList afterMethods) throws EveException

description

Sets a property in a MediaCollection. Currently the only property set is the MediaCollection's name, but you can set any serializable object as a property.

parameters

key - the key of the item you wish to set

 

value - the contents of the property

 

CommandList beforeMethods — indicates that you want to run a command method(s) before the method is invoked

 

CommandList afterMethods — indicates that you want to run a command method(s) after the method is executed

returns

nothing (void)

throws

The setProperty() method throws an EveException if the set operation fails.