The traditional way to do this is to use setFoo methods, where Foo is the value to be modified.