@groovy.transform.CompileStatic @groovy.transform.builder.Builder(builderStrategy: SimpleStrategy, prefix: ) class Collection extends Entity<Attribute>
Configures how an entity is mapped onto a Document collection
Type | Name and description |
---|---|
java.lang.String |
collection The 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