Modifying Records

A Record must be writeable before it can be modified. New Records obtained via the Table.create() methods are automatically writeable. A Record obtained via any other method cannot be changed; a safe copy must be obtained via the Record's asWriteable() method. As with new Records, changes will not be visible elsewhere in the program until its save() method is called.

Writeable Records are modified through setType methods. The basic methods are:

Field getters work the same way, taking only the requested field name as a parameter. Other setters and getters are available for convenience as well; see the javadocs for the Record class for more details.