(Quick Reference)

properties

目的
Purpose

Allows access to the domain class properties as a Map and is typically used for Data Binding to perform type conversions allowing properties to be set from request parameters or other Maps.

使用例
Examples

def b = new Book(title: "The Shining")
b.properties = params
b.save()