Configures how an entity is mapped onto a Document collection
| Fields inherited from class | Fields | 
|---|---|
class Entity | 
                            ALL_DATA_SOURCES, DEFAULT_DATA_SOURCE | 
                        
| Type | Name and description | 
|---|---|
java.lang.String | 
                            getCollection()The name of the collection  | 
                        
void | 
                            setCollection(java.lang.String name)Sets the name of the collection  | 
                        
| Methods inherited from class | Name | 
|---|---|
class Entity | 
                            connection, connections, datasource, getSort, isVersioned, setSort | 
                        
class java.lang.Object | 
                            java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |