    /**
     * Updates local value objects of this business object
     * to its data access object.
     *
     * @exception if the values are invalid
     *            or errors occur during setting data access object.
     */
    public void write() throws BOException {
	// write to data access object
	try {
${set_block}
	} catch (Exception e) {
	    throw new BOException("Failed writing to Row: " + e.toString());
	}
    }