Package | Description |
---|---|
griffon.util |
Groovy specific utility classes
|
Modifier and Type | Method and Description |
---|---|
static void |
GriffonClassUtils.setField(java.lang.Object bean,
java.lang.String name,
java.lang.Object value)
Sets the value of the specified field of the specified bean.
|
static void |
GriffonClassUtils.setFieldOrPropertyValue(java.lang.Object bean,
java.lang.String name,
java.lang.Object value)
Sets or updates an object's property.
|
static void |
GriffonClassUtils.setFields(java.lang.Object bean,
java.util.Map<java.lang.String,java.lang.Object> fields)
Sets or updates field values on an object.
|
static void |
GriffonClassUtils.setFieldsOrProperties(java.lang.Object bean,
java.util.Map<java.lang.String,java.lang.Object> properties)
Sets or updates an object's properties.
|
static void |
GriffonClassUtils.setFieldValue(java.lang.Object bean,
java.lang.String name,
java.lang.Object value)
Sets or updates an object's field.
|