public class DomainClassArtefactHandler extends ArtefactHandlerAdapter
Evaluates the conventions that define a domain class in Grails.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
TYPE |
| Fields inherited from class | Fields |
|---|---|
class ArtefactHandlerAdapter |
log |
| Constructor and description |
|---|
DomainClassArtefactHandler
() |
| Type | Name and description |
|---|---|
void |
initialize(ArtefactInfo artefacts)Sets up the relationships between the domain classes, this has to be done after the intial creation to avoid looping |
boolean |
isArtefactClass(java.lang.Class clazz) |
static boolean |
isDomainClass(java.lang.Class<?> clazz, boolean allowProxyClass) |
static boolean |
isDomainClass(java.lang.Class<?> clazz) |
GrailsClass |
newArtefactClass(java.lang.Class artefactClass) |
void |
setGrailsApplication(GrailsApplication grailsApplication) |
| Methods inherited from class | Name |
|---|---|
class ArtefactHandlerAdapter |
getArtefactForFeature, getPluginName, getType, initialize, isArtefact, isArtefactClass, isArtefactGrailsClass, newArtefactClass |
Sets up the relationships between the domain classes, this has to be done after the intial creation to avoid looping