class RecordSetter {

    public static List<String> getSetterCommands(final Record record) {
        final List<String> commands = new ArrayList<String>();
        final BreadCrumb rootCrumb = new BreadCrumb(record.getName());

        for (final Field field : record.getStructure().getFields())
            getSetterCommands(rootCrumb, field, record, commands);
        return commands;
    }

}