@groovy.transform.CompileStatic @SettingsBuilder class Collection extends Entity<Attribute>
Configures how an entity is mapped onto a Document collection
| Type | Name and description |
|---|---|
java.lang.String |
collectionThe name of the collection |
| Constructor and description |
|---|
Collection() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected Attribute |
newProperty() |
The name of the collection
Groovy Documentation