@groovy.transform.Trait @groovy.transform.CompileStatic trait DynamicAttributes extends java.lang.Object
A trait that adds support for defining dynamic attributes for databases that support it
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Map<java.lang.String, java.lang.Object> |
attributes() Obtain the dynamic attributes |
|
java.util.Map<java.lang.String, java.lang.Object> |
attributes(java.util.Map<java.lang.String, java.lang.Object> newAttributes) Obtain the dynamic attributes combined with the provided attributes |
|
java.lang.Object |
getAt(java.lang.String name) Obtains a dynamic attribute |
|
void |
putAt(java.lang.String name, java.lang.Object value) Sets a dynamic attribute |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Obtain the dynamic attributes
Obtain the dynamic attributes combined with the provided attributes
newAttributes
- The new attributesObtains a dynamic attribute
name
- The name of the attributeSets a dynamic attribute
name
- The name of the attributevalue
- The value of the attribute