Configures how an entity is mapped onto a Document collection
Fields inherited from class | Fields |
---|---|
class org.grails.datastore.mapping.config.Entity |
ALL_DATA_SOURCES, DEFAULT_DATA_SOURCE, __$stMC |
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 org.grails.datastore.mapping.config.Entity |
org.grails.datastore.mapping.config.Entity#getVersion(), org.grails.datastore.mapping.config.Entity#setVersion(boolean), org.grails.datastore.mapping.config.Entity#datasource(java.lang.String), org.grails.datastore.mapping.config.Entity#connections([Ljava.lang.String;), org.grails.datastore.mapping.config.Entity#getStateless(), org.grails.datastore.mapping.config.Entity#isStateless(), org.grails.datastore.mapping.config.Entity#setStateless(boolean), org.grails.datastore.mapping.config.Entity#getAutoTimestamp(), org.grails.datastore.mapping.config.Entity#isAutoTimestamp(), org.grails.datastore.mapping.config.Entity#setAutoTimestamp(boolean), org.grails.datastore.mapping.config.Entity#getAutowire(), org.grails.datastore.mapping.config.Entity#isAutowire(), org.grails.datastore.mapping.config.Entity#setAutowire(boolean), org.grails.datastore.mapping.config.Entity#getDefaultSort(), org.grails.datastore.mapping.config.Entity#setDefaultSort(java.lang.Object), org.grails.datastore.mapping.config.Entity#isVersion(), org.grails.datastore.mapping.config.Entity#getDatasources(), org.grails.datastore.mapping.config.Entity#setDatasources(java.util.List), org.grails.datastore.mapping.config.Entity#stateless(boolean), org.grails.datastore.mapping.config.Entity#autoTimestamp(boolean), org.grails.datastore.mapping.config.Entity#getMetaClass(), org.grails.datastore.mapping.config.Entity#setMetaClass(groovy.lang.MetaClass), org.grails.datastore.mapping.config.Entity#invokeMethod(java.lang.String, java.lang.Object), org.grails.datastore.mapping.config.Entity#connection(java.lang.String), org.grails.datastore.mapping.config.Entity#autowire(boolean), org.grails.datastore.mapping.config.Entity#getSort(), org.grails.datastore.mapping.config.Entity#setSort(java.lang.Object), org.grails.datastore.mapping.config.Entity#isVersioned(), org.grails.datastore.mapping.config.Entity#defaultSort(java.lang.Object), org.grails.datastore.mapping.config.Entity#datasources(java.util.List), org.grails.datastore.mapping.config.Entity#setProperty(java.lang.String, java.lang.Object), org.grails.datastore.mapping.config.Entity#getProperty(java.lang.String), org.grails.datastore.mapping.config.Entity#version(boolean), org.grails.datastore.mapping.config.Entity#wait(long, int), org.grails.datastore.mapping.config.Entity#wait(long), org.grails.datastore.mapping.config.Entity#wait(), org.grails.datastore.mapping.config.Entity#equals(java.lang.Object), org.grails.datastore.mapping.config.Entity#toString(), org.grails.datastore.mapping.config.Entity#hashCode(), org.grails.datastore.mapping.config.Entity#getClass(), org.grails.datastore.mapping.config.Entity#notify(), org.grails.datastore.mapping.config.Entity#notifyAll() |
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() |