|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
@java.lang.SuppressWarnings("rawtypes")
public interface StructuredPropertyEditor
A PropertyEditor that is able to edit structured properties (properties made up of multiple field values). The #assemble method takes the required type and a map of field values and create an instance of the required type.
| Method Summary | |
|---|---|
java.lang.Object
|
assemble(java.lang.Class type, java.util.Map fieldValues)
Assemble and bind a property value from the specified fieldValues and the given type |
java.util.List
|
getOptionalFields()
@return The optional fields |
java.util.List
|
getRequiredFields()
@return The required fields |
| Method Detail |
|---|
public java.lang.Object assemble(java.lang.Class type, java.util.Map fieldValues)
type - The typefieldValues - The field values
public java.util.List getOptionalFields()
public java.util.List getRequiredFields()
Groovy Documentation