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