@groovy.transform.CompileStatic @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) class NodeConfig extends Entity<Attribute>
Extends the default Entity configuration adding the ability to assign labels
| Type | Name and description |
|---|---|
java.lang.Boolean |
autoLabel |
boolean |
dynamicAssociationsWhether this entity supports dynamic associations. |
java.lang.Object |
labels
|
| Constructor and description |
|---|
NodeConfig() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected Attribute |
newProperty() |
Whether this entity supports dynamic associations. The default is false. Setting this to true will allow Grails to load dynamic relationships, however at the cost of N+1. For each loaded entity Grails has to execute a separate query to establish the associations. This is contrary to non-dynamic associations which can be loaded using an OPTIONAL MATCH