public class DomainClassArtefactHandler extends ArtefactHandlerAdapter
Evaluates the conventions that define a domain class in Grails.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
PLUGIN_NAME |
|
static java.lang.String |
TYPE |
Fields inherited from class | Fields |
---|---|
class ArtefactHandlerAdapter |
allowAbstract, artefactSuffix, grailsClassImpl, grailsClassType, type |
Constructor and description |
---|
DomainClassArtefactHandler
() |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getOrder() |
|
java.lang.String |
getPluginName() |
|
boolean |
isArtefact(org.codehaus.groovy.ast.ClassNode classNode) |
|
boolean |
isArtefactClass(java.lang.Class clazz) |
|
protected boolean |
isArtefactResource(Resource resource) |
|
static boolean |
isDomainClass(java.lang.Class<?> clazz, boolean allowProxyClass) |
|
static boolean |
isDomainClass(java.lang.Class<?> clazz) |
|
protected boolean |
isValidArtefactClassNode(org.codehaus.groovy.ast.ClassNode classNode, int modifiers) |
|
GrailsClass |
newArtefactClass(java.lang.Class artefactClass) |
|
GrailsClass |
newArtefactClass(java.lang.Class artefactClass, org.grails.datastore.mapping.model.MappingContext mappingContext) |
|
void |
setGrailsApplication(GrailsApplication grailsApplication) |
Methods inherited from class | Name |
---|---|
class ArtefactHandlerAdapter |
getArtefactForFeature, getPluginName, getType, initialize, isArtefact, isArtefact, isArtefactClass, isArtefactGrailsClass, isArtefactResource, isValidArtefactClassNode, newArtefactClass |
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() |