@Trait @CompileStatic trait DynamicAttributes extends Object
A trait that adds support for defining dynamic attributes for databases that support it
| Type Params | Return Type | Name and description |
|---|---|---|
|
Map<String, Object> |
attributes()Obtain the dynamic attributes |
|
Map<String, Object> |
attributes(Map<String, Object> newAttributes)Obtain the dynamic attributes combined with the provided attributes |
|
Object |
getAt(String name)Obtains a dynamic attribute |
|
void |
putAt(String name, Object value)Sets a dynamic attribute |
Obtain the dynamic attributes combined with the provided attributes
newAttributes - The new attributesObtains a dynamic attribute
name - The name of the attribute