Base class for classes returned from ClassMapping.getMappedForm
| Modifiers | Name | Description | 
|---|---|---|
static java.lang.String  | 
                            ALL_DATA_SOURCES | 
                            @deprecated Use ConnectionSource.DEFAULT instead | 
static java.lang.String  | 
                            DEFAULT_DATA_SOURCE | 
                            @deprecated Use ConnectionSource.ALL instead | 
| Type | Name and description | 
|---|---|
boolean  | 
                            autoTimestamp@return Whether automatic time stamps should be applied to 'lastUpdate' and 'dateCreated' properties  | 
                        
boolean  | 
                            autowire@return Whether the entity should be autowired  | 
                        
java.util.List<java.lang.String>  | 
                            datasourcesGet the datasource names that this domain class works with.  | 
                        
java.lang.Object  | 
                            defaultSort@return The default sort order definition, could be a string or a map  | 
                        
boolean  | 
                            stateless@return Whether the entity state should be held in the session or not  | 
                        
boolean  | 
                            version@return Whether the entity is versioned  | 
                        
| Type | Name and description | 
|---|---|
Entity | 
                            connection(java.lang.String name)Sets the datastore to use  | 
                        
Entity | 
                            connections(java.lang.String... names)Sets the datastore to use  | 
                        
Entity | 
                            datasource(java.lang.String name)Sets the datastore to use  | 
                        
java.lang.Object | 
                            getSort() | 
                        
boolean | 
                            isVersioned()@return Whether this entity is versioned  | 
                        
Entity | 
                            setSort(java.lang.Object defaultSort) | 
                        
| Methods inherited from class | Name | 
|---|---|
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() | 
                        
Get the datasource names that this domain class works with.
Sets the datastore to use
Sets the datastore to use
Sets the datastore to use